ahh , i already know why not recommend to make server function like this because it's must query item every table if item have a lot server will work heavily
i write like this already but it's not realtime
you can try
1. @item 4001 5ea
2. relogin
3. click your npc, npc will return 5 to you
4. @item 4001 5ea again
5. click your npc , npc will return 5 same before
it's not realtime, npc must return 10 not 5 when i @item again and not relogin
i think it's impossible because
1. try to set mapflag nocommand player can't use command in this map too and must make sure your gm level not bypass this mapflag
2. set mapflag to nowarpto must make sure too about gm level by pass
3. kick player or monster it's not possible if you gm level can do that but if you change gm level to lower when woe start you can't kick or everything but make sure your gm level can use what command
so i think not have npc script to do like this auto must change by your self
try this and this code to all case
delwaitingroom;
stopnpctimer;
initnpctimer;
disablenpc ""+strnpcinfo(0)+"";
and
OnTimer10000:
enablenpc ""+strnpcinfo(0)+"";
waitingroom "PlayUrSong-DJ Jard",0;
stopnpctimer;
end;
OnInit:
stopnpctimer;
initnpctimer;
delwaitingroom;
waitingroom "PlayUrSong-DJ Jard",0;
end;
}
ps. change timer at OnTimer10000: to Ontimer480000: (60000=1 minute / 480000=8 minutes)