prontera,147,175,6 script Poring Catcher 715,{ if (getgmlevel() >= 40) goto L_GM; mes "[Poring Catcher]"; mes "Hello, im under orders to only activate this great event when a GM says so."; close;
L_No: close;
L_GM: mes "[Poring Catcher]"; mes "Would you like to start this event?"; menu " - Yes",-,"- No",L_No; mes "^00DD00Please Wait^000000. (^DD000010 Seconds^000000)"; announce "Poring Catcher : It's time to play some Poring Catcher!",0; killmonster "poring_w01","All"; sleep2 10000; mes "Please Wait.. (^DD000010 Seconds^000000)"; announce "Poring Catcher : Please make your way to the centre of Prontera.",0; sleep2 10000; mes "^00DD00Please Wait^000000... (^DD000010 Seconds^000000)"; announce "Poring Catcher : After one minute the portal will close.",0; sleep2 10000; mes "Please Wait.... (^DD000010 Seconds^000000)"; announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; initnpctimer; close;
OnTimer30000: announce "Poring Catcher : Last 30 seconds.",0; sleep2 5000; announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0; end;
OnTimer50000: announce "Poring Catcher : Last 10 seconds.",0; end;
mes "[Poring Catcher]"; if(PORING == 1) goto L_PORING; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0; warp "prontera",155,182; end;
L_PORING: mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Proof of Donation!",0;
getitem 7179,1; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE
set PORING,0; warp "prontera",155,182; hideonnpc "Poring Catcher#evnt2"; end;
OnEnable: mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0; goto L_Start; end;
OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end;
}
- script poringlose -1,{
OnMobKilled: dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring."; warp "prontera",155,178; end;
Question
Cooon
Please use a codebox next time.
Link to comment
Share on other sites
7 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.