Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
"It seemed to work fine for me."
Here, it's hard to say; the problem could have been in the previous part of the script. In general, there were more than enough bugs related to the script on this map.
As confirmation that the `if` statement can be completed in the middle of the script, here's a snippet from the script of that same map:
```
function Urgashs_help()
if flag == 1 then
if GetDate(DAY) == 2 then
AddObjectCreatures('Oddrema', CREATURE_DEVIL, 3)
elseif GetDate(DAY) == 3 then
AddObjectCreatures('Oddrema', 18 , 250)
end;
elseif GetDate(DAY) == 4 then
AddObjectCreatures('Oddrema', 22, 150)
AddObjectCreatures('Maeve', 2, 300)
AddObjectCreatures('Maeve', 4, 150)
AddObjectCreatures('Maeve', 6, 100)
AddObjectCreatures('Maeve',8, 50)
AddObjectCreatures('Maeve',110, 25)
AddObjectCreatures('Maeve',12, 25)
AddObjectCreatures('Maeve',13, 25)
end;
end;
Trigger(NEW_DAY_TRIGGER, 'Urgashs_help')
```
GnomKRAG
Could you please explain what you meant?
Sincerely.