Second thing, that I forgot to say about previously, is that if you want message on the first day of first week you have to wrote the command before function. Below is the code you need:
Code: Select all
-- only do this the first day
if GetDate(DAY_OF_WEEK) == 1 then
-- do this first day of every week.
Look that "wiad22222.txt" will not be shown on day1 week1, because its first day of first week (but of course it will be shown on day1 of next weeks). So if you want it to be like with "wiad11111.txt" then write command before function, just like i did this with "wiad11111.txt".
Don't forget to change "Maps/Multiplayer/Alavris 1/wiad11111.txt" into yours text file name (and path!).
Ooooh, this Heroes V editor is so complicated....