Hi rAthena, regarding the hidenpc script. Is my script fine? I've tried it and it has no errors. But the thing is, I wanted the NPCs to hide and return to the said specific day and time throughout the whole server. The NPC is not hiding every wednesday and so on, hope someone can help me.
Question
ajaytrix
Hi rAthena, regarding the hidenpc script. Is my script fine? I've tried it and it has no errors. But the thing is, I wanted the NPCs to hide and return to the said specific day and time throughout the whole server. The NPC is not hiding every wednesday and so on, hope someone can help me.
- script HidingNPC -1,{ OnInit: //Hides NPC on Wed OnWed2359: hideonnpc "Kellvahni#gefg_cas04"; //gefg_cas04 72 46 sleep ( 5 * 60000 ); OnTue0000: hideoffnpc "Kellvahni#gefg_cas04"; end; //Hides on Saturday OnSat2359: hideonnpc "Roy#prtg_cas02"; //prtg_cas02 94 61 sleep ( 5 * 60000 ); OnThu2300: hideoffnpc "Roy#prtg_cas02"; end; //Hides Hides on sunday OnSun2358: hideonnpc "Nahzarf#aldeg_cas03"; //aldeg_cas03 110 118 sleep ( 5 * 60000 ); OnSun0000: hideoffnpc "Nahzarf#aldeg_cas03"; end; }
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.