@meko
This is my script please fix this for me.
prontera,150,150,5 script Jump 123,{ set .Map$,.Maps$[rand(getarraysize(.Maps$))]; announce "Jumper Event : Go Find me!! I'm here in "+.Map$+"!!!",bc_yellow; goto OnStart; OnStart: while(1) { //Initiate an infinite loop set $@jx,rand(0,300); //Set a randon X coordinate set $@jy,rand(0,300); //Set a random Y coordinate if(checkcell(""+.Map$+"",$@jx,$@jy,cell_chkpass)) break; //If cell is walkable break out of the loop } movenpc "GM Athena#"+.Map$+"",$@jx,$@jy; //move the NPC while( 1 ){ delwaitingroom; waitingroom "Hello World",0; end; } end; OnInit: setarray .Maps$[0],"prontera"; // Possible maps end; } prontera,1,1,1 duplicate(Jump) Jump#prt 123
NOTE:
The NPC is already jumping to a random walkable coordinates in a map however the waitingroom or pub of the NPC on top of its head is not showing.. please help me fix this one.
The only problem of this script is the waitingroom or pub.