Jump to content
Sign in to follow this  
jTynne

Wandering Poring v1.0

Recommended Posts

You haven't separed the NPC header in tabs. Correct separation is (change any <TAB> to a tabulation space):

 

-<TAB>script<TAB>poringbind<TAB>-1,{

Share this post


Link to post
Share on other sites

i have poring when using @poring invek the monster got.

but when auto i set it at invek the monster no respawn

and how to set to 5 hour?

this my script @@jaBote

 

 

-	script	poringbind	-1,{OnInit:    unbindatcmd "poring";    bindatcmd("poring","poringbind::OnAtcommand",20,90);    end;    OnAtcommand:if(getgroupid() < 20) { end; }set .map$,.@atcmd_parameters$[0];  if(@map$ == "") {dispbottom "Syntax: @poring <mapname>";dispbottom "Five Porings will spawn on the map you choose. Recommended usage for this event is 3-5 times per day.";dispbottom "NOTE: Do NOT use capitals in the map name otherwise no Poring will spawn!";end;}donpcevent strnpcinfo(3)+"::OnEvent";end; OnMinute30: // Put your custom triggers hereset .map$, "payon";donpcevent strnpcinfo(3)+"::OnEvent";end;OnEvent:monster .map$,0,0,"Wandering Poring",1502,1,"poringbind::OnKill";announce "[Wandering Poring] : Pori Pori have been sighted on the map: "+.map$+" . The first person to find and kill each will receive an award! x5 TCG @ Event Card , x3 Bronze Coin , x3k Gold",0;end; OnKill:// Update Here!set .@prize,rand(1,5);announce "[Wandering Poring] : "+strcharinfo(0)+" has captured a Wandering Poring on the map "+strcharinfo(3)+"!",0;// Syntax: Item ID / Quantityif(.@prize == 1) { getitem 501,1; }if(.@prize == 2) { getitem 502,1; }if(.@prize == 3) { getitem 503,1; }if(.@prize == 4) { getitem 504,1; }if(.@prize == 5) { getitem 505,1; }// 25 Poring Coins Base Prizegetitem 673,3;getitem 7227,5;getitem 696,3000;end; }

 

ej0uw.png
Edited by minx123

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.