Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,157,178,5 script Clemy 703,{
- end;
- OnMon0000:
- OnWed0000:
- .unhide = 0;
- disablenpc strnpcinfo(0);
- end;
- OnSun0000:
- OnTue0000:
- enablenpc strnpcinfo(0);
- .unhide = 1;
- // continute read on
- OnInit:
- if ( gettime(4) != 0 && gettime(4) != 2 ) { // add this...
- .unhide = 0;
- disablenpc strnpcinfo(0);
- end;
- }
- .@interval = 2;
- .@step = 5;
- while( .unhide ){
- sleep .@interval * 1000;
- getmapxy .@map$, .@x, .@y, 1;
- while ( checkcell( .@map$, .@npc_x = .@x + rand( -.@step, .@step ), .@npc_y = .@y + rand( -.@step, .@step ), cell_chknopass ) );
- npcwalkto .@npc_x, .@npc_y;
- npctalk callfunc( "F_RandMes", 2,
- "Heloo!!!", // 1
- "Goodbye~!" // 2
- );
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment