Skip to content
User Avatar
#3178
Auto-translated
In general, I checked what comments the script editor gives, and it complained that another "end" should be added. Now the script looks like this:
Trigger(NEW_DAY_TRIGGER, "hello");
function hello()
if GetDate(DAY)==0 then
MessageBox(GetMapDataPath().."message.txt");
end;
end
At the bottom, it says "syntax successfully checked," but in the game itself, nothing still happens:(
P.S. When opening the map itself, even before clicking on MapScript.lua, the editor with an error sign says "An invalid character was found in text content" Line: 79392 < Item >, could it be related to this? But then what is it and how can I fix it?

Statistics

Welcome our newest member: artem

Users Online 2 users 1485 guests