Auto-translated
Hello, I decided to use a script for the first time, and, of course, it didn't work:o Please tell me what's wrong here? (the idea is to display a text message at the beginning of the game):
Trigger(NEW_DAY_TRIGGER, "hello")
function hello()
if GetDate(DAY) == 1 then
then MessageBox(GetMapDataPath().."message.txt");
end;
Trigger(NEW_DAY_TRIGGER, "hello")
function hello()
if GetDate(DAY) == 1 then
then MessageBox(GetMapDataPath().."message.txt");
end;