dungpt8782
New member
- Messages
- 63
- Points
- 0
- Age
- 43
- Emulator
Pls help me to correct this code!
OnDevilDead: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monster in round.", bc_map; else if ( .mob <= 0 ) { announce "You have 4s to next round", bc_map; sleep 1000; announce "You have 3s to next round", bc_map; sleep 1000; announce "You have 2s to next round", bc_map; sleep 1000; announce "You have 1s to next round", bc_map; sleep 1000; goto OnDevil2; } end;
And this is my error (attach file)

OnDevilDead: .mob--; if ( .mob == 25 || .mob == 5 ) announce "Devil Square : "+ .mob +" monster in round.", bc_map; else if ( .mob <= 0 ) { announce "You have 4s to next round", bc_map; sleep 1000; announce "You have 3s to next round", bc_map; sleep 1000; announce "You have 2s to next round", bc_map; sleep 1000; announce "You have 1s to next round", bc_map; sleep 1000; goto OnDevil2; } end;
And this is my error (attach file)
