rezo |
Wysłany: Czw 17:58, 18 Sie 2005 Temat postu: Jailer script Revange |
|
prontera.gat,<x>,<y>,<p> script NonGM Npc <spriteID>,{
// zeny it cost's to try once
set @zcost,1000000;
mes "[Jailer]";
mes "Ey, would you like to try jail someone? a nice chance to get revenge ";
menu "Yes",Yeah,"Nah",Nope;
Nope:
mes "Too bad then, but hey, if u ever dont like someone, im your man ";
close;
Yeah:
mes "Well, well, well, we dont like someone..."
mes "Im not that good of a jailer (I drink) so i might sometimes bugger up and fail, it will cost " +@zcost+ "zeny to try";
menu "Hell yeah !!",YesJ,"Nope, to risky",Nope;
YesJ:
mes "Ok insert players name you want to try jail...";
input @player$;
mes "Thank you, now we will see if you jail has been sucsessfull";
set $jailchance,rand(5);
if ($jailchance == 1) goto Sucsess;
mes "Sorry, buggered up";
set Zeny, Zeny-@zcost;
close;
Sucsess:
mes "You have sucsessfully jailed" +@player$+ ". I hope you really didnt like him/her";
atcommand @jail +@player$;
set Zeny, Zeny-@zcost;
Announce "[Jailer] :" +@player$+ "Has been sucsessfully Jailed",8;
close; |
|