Jump to content
  • 0

help - RFYL Event Automated


GM Takumirai

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  


- script RFYLBank -1,{

OnInit:
disablenpc "Zombie Master";
disablenpc "R.F.Y.L. Banker";
}

gonryun,167,98,3 script Zombie Master 718,{
mes "[Zombie Master]";
if (BaseLevel > 1){
mes "[^0000FFZombie Master^000000]";
mes "You must be a level 1 Novice.";
close;
}
if (class > 0){
mes "[^0000FFZombie Master^000000]";
mes "You are not a Novice and must be level 1.";
close;
}
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is Zombie v.s. Novice?",what,"Leave",leave;
next;
mes "[Zombie Master]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Zombie v.s. Novice.";
sc_end SC_ALL;
sc_start SC_DECREASEAGI,1200000,10;
percentheal 100,100;
sc_start SC_STRIPSHIELD,1200000,5;
sc_start SC_STRIPWEAPON,1200000,5;
sc_start SC_STRIPARMOR,1200000,5;
sc_start SC_STRIPHELM,1200000,5;
statusup2 bStr,-999;
statusup2 bAgi,-999;
statusup2 bVit,-999;
statusup2 bInt,-999;
statusup2 bDex,-999;
statusup2 bLuk,-999;
warp "sec_pri",24,76;
end;
what:
mes "[Zombie Master]";
mes "Zombie v.s. Novice Event, You just run for you life to survive the number of wave of Zombie.";
next;
mes "[Zombie Master]";
mes "Zombie v.s. Novice Event have different Difficulties.";
mes "If Only 1 player survive the wave the game is Over.";
next;
mes "[Zombie Master]";
mes "That's all";
close;
leave:
mes "[Zombie Master]";
mes "I hope you will register next time";
close;
}

- script RFYL -1,{
OnMinute05:
OnMinute10:
OnMinute20:
OnMinute30:
OnMinute40:
OnMinute50:
OnMinute55:
enablenpc "Zombie Master";
delwaitingroom;
waitingroom "Register Zombie v.s. Novice Now",0;
pvpoff "sec_pri";
announce "Zombie Vs. Novice event Will begin in 3 minutes. Head East/North",0;
killmonsterall "sec_pri";
sleep 55000;
announce "Zombie Vs. Novice event will begin in 2 minutes! Head East/North",0;
sleep 5000;
announce "Zombie Master: I have now appeared in Rachel!",0;
enablenpc "Zombie Master";
sleep 60000;
announce "Zombie Vs. Novice event will begin in 1 minute!",0;
sleep 30000;
mapannounce "sec_pri","In 30 seconds the zombies will spawn!",0;
sleep 25000;
announce "Zombie Vs. Novice event will begin in ~5~",0;
sleep 1000;
announce "Zombie Vs. Novice event will begin in ~4~",0;
sleep 1000;
announce "Zombie Vs. Novice event will begin in ~3~",0;
sleep 1000;
announce "Zombie Vs. Novice event will begin in ~2~",0;
sleep 1000;
announce "Zombie Vs. Novice event will begin in ~1~",0;
sleep 1000;
announce "Zombie Vs. Novice event has now begun!",0,0x00FF00;
disablenpc "Zombie Master";
if(getmapusers("sec_pri") == 1){
announce "sec_pri","Zombie Master: Event Ended 1 Participant Only..",0;
pvpoff "sec_pri";
mapwarp "sec_pri","prontera",0,0;
stopnpctimer;
}

// =========================
// Round 1
// =========================
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 55000;
// =========================
// Round 2
// =========================
mapannounce "sec_pri","Round 2!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-2",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-2",1015,1;
// =========================
// Round 3
// =========================
mapannounce "sec_pri","Round 3!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-3",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-3",1015,1;
// =========================
// Round 4
// =========================
mapannounce "sec_pri","Round 4!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
// =========================
// Round 5
// =========================
mapannounce "sec_pri","Round 5!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-5",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-5",1015,1;
// =========================
// Round 6
// =========================
mapannounce "sec_pri","Round 6!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-6",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-6",1015,1;
// =========================
// Round 7
// =========================
mapannounce "sec_pri","Round 7! Final Round!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 20000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 30000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 40000;
monster "sec_pri",24,76,"Zombie-7",1036,1;
sleep 50000;
monster "sec_pri",24,76,"Zombie-7",1036,1;
sleep 60000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
initnpctimer;
end;
// =========================
// End of Rounds
// =========================

OnTimer0500: 
if ( getmapusers("sec_pri") == 0 ) {
killmonsterall "sec_pri";
announce "RFYL Event: Event has ended. No one has joined.",0;
stopnpctimer;
end;
} else if ( getmapusers("sec_pri") > 1 ) {
mapannounce "sec_pri",getmapusers("sec_pri") +" has survived the event.",0,0x00FF00;;
initnpctimer;
end;
}
initnpctimer;
end;

// =========================
// When players die
// ========================= 
OnPCDieEvent:
getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;
if ( .@mapnvz$ == "sec_pri") {
sleep2 100;
warp "prontera",0,0;
atcommand "@alive "+ strcharinfo(0);
dispbottom "Sorry, but you were killed.";
}
sleep2 500;
if (.@mapnvz$ == "sec_pri" && getmapusers("sec_pri") == 1 ) {
killmonsterall "sec_pri";
sc_start SC_BASILICA,30000,1;
mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0;
enablenpc "R.F.Y.L. Banker";
stopnpctimer;
end;
}
end;
}

sec_pri,24,76,3 script R.F.Y.L. Banker 72,{
if(getmapusers("sec_pri") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[R.F.Y.L. Banker]";
mes "Please tell me your name:";
next;
input .@name$;
if(.@name$ != strcharinfo(0)) {
mes "[R.F.Y.L. Banker]";
mes "Are you sure that is your name?";
close;
}
mes "[R.F.Y.L. Banker]";
mes "Congrats. You've won.";
close2;
announce "R.F.Y.L. Banker: We have a winner! "+.@name$+" has won the Novice vs Zombie event!",0;
getitem 7711, 1; // Change This item id to what ever you want
warp "prontera",0,0;
disablenpc "R.F.Y.L. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("sec_pri")+"] Participants ",0;
sleep 1000;
}
end;

}

// == Mapflags
sec_pri mapflag nowarpto
sec_pri mapflag nowarp
sec_pri mapflag noteleport
sec_pri mapflag nomemo
sec_pri mapflag nosave SavePoint
sec_pri mapflag nobranch
sec_pri mapflag noicewall
sec_pri mapflag nopenalty
sec_pri mapflag nobranch
sec_pri mapflag noexp
sec_pri mapflag noreturn
sec_pri mapflag pvp_noparty
sec_pri mapflag restricted 1

- the problem is when the npc recognize only 1 player left the NPC still continue itself to spawn zombie .. even if it stopnpctimer..

- also if 1 participant only left..

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Here it iszombievspl.txt

Checks every 10 sec if 1 player left or not.

Edited by Dastgir Pojee
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Edit:

Making it run every 5 minute will cause serious exploit.

OnMinute05:
OnMinute10:
OnMinute20:
OnMinute30:
OnMinute40:
OnMinute50:
OnMinute55:

And also it waits for 3 minutes then its like start at 08, The Event total time for all round is around 640 seconds(around 11 minutes), so total time is 11+3 = 14 minutes.

so atleast give a gap of 15 minute i.e. to this.

OnMinute01:
OnMinute16:
OnMinute31:
OnMinute46:

Edited by Dastgir Pojee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Hehehe sori i put it that way so u can test the event

still the same result.. i don't know why it doesn't stop the timer..


- script RFYLBank -1,{

OnInit:
disablenpc "Zombie Master";
disablenpc "R.F.Y.L. Banker";
}

gonryun,167,98,3 script Zombie Master 718,{
mes "[Zombie Master]";
if (BaseLevel > 1){
mes "[^0000FFZombie Master^000000]";
mes "You must be a level 1 Novice.";
close;
}
if (class > 0){
mes "[^0000FFZombie Master^000000]";
mes "You are not a Novice and must be level 1.";
close;
}
if(Weight > 0) {
mes "Lower your weight, Remove all your items.";
close;
}
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is Zombie v.s. Novice?",what,"Leave",leave;
next;
mes "[Zombie Master]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Zombie v.s. Novice.";
sc_end SC_ALL;
sc_start SC_DECREASEAGI,1200000,10;
percentheal 100,100;
sc_start SC_STRIPSHIELD,1200000,5;
sc_start SC_STRIPWEAPON,1200000,5;
sc_start SC_STRIPARMOR,1200000,5;
sc_start SC_STRIPHELM,1200000,5;
statusup2 bStr,-999;
statusup2 bAgi,-999;
statusup2 bVit,-999;
statusup2 bInt,-999;
statusup2 bDex,-999;
statusup2 bLuk,-999;
warp "sec_pri",24,76;
end;

what:
mes "[Zombie Master]";
mes "Zombie v.s. Novice Event, You just run for you life to survive the number of wave of Zombie.";
next;
mes "[Zombie Master]";
mes "Zombie v.s. Novice Event have different Difficulties.";
mes "If Only 1 player survive the wave the game is Over.";
next;
mes "[Zombie Master]";
mes "That's all";
close;

leave:
mes "[Zombie Master]";
mes "I hope you will register next time";
close;
}

- script RFYL -1,{
OnMinute05:
OnMinute25:
OnMinute40:
OnMinute50:
enablenpc "Zombie Master";
delwaitingroom;
waitingroom "Register Zombie v.s. Novice Now",0;
pvpoff "sec_pri";
announce "Zombie Vs. Novice event Will begin in 3 minutes. Head at Gonryun town,0;
killmonsterall "sec_pri";
sleep 55000;
announce "Zombie Vs. Novice event will begin in 2 minutes! Head at Gonryun town",0;
sleep 5000;
announce "Zombie Master: I have now appeared at Gonryun town!",0;
enablenpc "Zombie Master";
sleep 60000;
announce "Zombie Vs. Novice event will begin in 1 minute!",0;
sleep 30000;
mapannounce "sec_pri","In 30 seconds the Registration will be closed!",0;
sleep 25000;
announce "Zombie Vs. Novice Event: will closed in ~5~",0;
sleep 1000;
announce "Zombie Vs. Novice Event: will closed in ~4~",0;
sleep 1000;
announce "Zombie Vs. Novice Event: will closed in ~3~",0;
sleep 1000;
announce "Zombie Vs. Novice Event: will closed in ~2~",0;
sleep 1000;
announce "Zombie Vs. Novice Event: will closed in ~1~",0;
sleep 1000;
announce "Zombie Vs. Novice Event: Registration is closed!",0;
disablenpc "Zombie Master";
killmonsterall "sec_pri";
if(getmapusers("sec_pri") == 1){
announce "sec_pri","Zombie Master: Event Ended 1 Participant Only..",0;
killmonsterall "sec_pri";
pvpoff "sec_pri";
mapwarp "sec_pri","prontera",0,0;
stopnpctimer;
}

// =========================
// Round 1
// =========================
initnpctimer;
sleep 1000;
mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~5~",0;
sleep 1000;
mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~4~",0;
sleep 1000;
mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~3~",0;
sleep 1000;
mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~2~",0;
sleep 1000;
mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~1~",0;
sleep 10000;
mapannounce "sec_pri","Zombie Vs. Novice Event: Run~",0;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie",1015,1;
sleep 55000;
// =========================
// Round 2
// =========================
mapannounce "sec_pri","Round 2!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-2",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-2",1015,1;
// =========================
// Round 3
// =========================
mapannounce "sec_pri","Round 3!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-3",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-3",1015,1;
// =========================
// Round 4
// =========================
mapannounce "sec_pri","Round 4!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
sleep 10000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-4",1015,1;
// =========================
// Round 5
// =========================
mapannounce "sec_pri","Round 5!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-5",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-5",1015,1;
// =========================
// Round 6
// =========================
mapannounce "sec_pri","Round 6!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-6",1015,1;
sleep 55000;
monster "sec_pri",24,76,"Zombie-6",1015,1;
// =========================
// Round 7
// =========================
mapannounce "sec_pri","Round 7! Final Round!",0;
sleep 10000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 20000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 30000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
sleep 40000;
monster "sec_pri",24,76,"Zombie-7",1036,1;
sleep 50000;
monster "sec_pri",24,76,"Zombie-7",1036,1;
sleep 60000;
monster "sec_pri",24,76,"Zombie-7",1015,1;
goto OnWin2;
end;
// =========================
// End of Rounds
// =========================

OnTimer10000:
if ( getmapusers("sec_pri") > 1 ){
initnpctimer;
end;
}
else{
mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0;
enablenpc "R.F.Y.L. Banker";
stopnpctimer;
}
end;


OnWin2:
if ( getmapusers("sec_pri") == 0 ) {
killmonsterall "sec_pri";
announce "RFYL Event: Event has ended. No one has joined.",0;
stopnpctimer;
end;
} else if ( getmapusers("sec_pri") > 1 ) {
mapannounce "sec_pri",getmapusers("sec_pri") +" has survived the event.",0,0x00FF00;;
initnpctimer;
end;
}
initnpctimer;
end;

// =========================
// When players die
// ========================= 
OnPCDieEvent:
getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;
if ( .@mapnvz$ == "sec_pri") {
sleep2 100;
warp "prontera",0,0;
atcommand "@alive "+ strcharinfo(0);
dispbottom "Sorry, but you were killed.";
}
sleep2 500;
if (.@mapnvz$ == "sec_pri" && getmapusers("sec_pri") == 1 ) {
killmonsterall "sec_pri";
sc_start SC_BASILICA,30000,1;
mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0;
enablenpc "R.F.Y.L. Banker";
stopnpctimer;
end;
}
end;
}

sec_pri,24,76,3 script R.F.Y.L. Banker 72,{
if(getmapusers("sec_pri") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[R.F.Y.L. Banker]";
mes "Please tell me your name:";
next;
input .@name$;
if(.@name$ != strcharinfo(0)) {
mes "[R.F.Y.L. Banker]";
mes "Are you sure that is your name?";
close;
}
mes "[R.F.Y.L. Banker]";
mes "Congrats. You've won.";
close2;
announce "R.F.Y.L. Banker: We have a winner! "+.@name$+" has won the Novice vs Zombie event!",0;
getitem 7711, 1; // Change This item id to what ever you want
warp "prontera",0,0;
disablenpc "R.F.Y.L. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("sec_pri")+"] Participants ",0;
sleep 1000;
}
end;

}

// == Mapflags
sec_pri mapflag nowarpto
sec_pri mapflag nowarp
sec_pri mapflag noteleport
sec_pri mapflag nomemo
sec_pri mapflag nosave SavePoint
sec_pri mapflag nobranch
sec_pri mapflag noicewall
sec_pri mapflag nopenalty
sec_pri mapflag nobranch
sec_pri mapflag noexp
sec_pri mapflag noreturn
sec_pri mapflag pvp_noparty
sec_pri mapflag restricted 1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

It checks every 10 sec if player is more than 1 or not. if its 1 or 0, event stops.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

here is another alternate script you can try that i made long time ago..

http://pastebin.com/raw.php?i=ifnirP3x

but it has been edited abit by other users..might have some minor mistake due to the modification....

please aware of it..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

thanks both of you..



gonryun,167,98,3 script Novice vs. Zombie 1015,{
if ( BaseLevel != 1 || Class != 0){ 
mes "[^0000FFZombie Vs. Novice^000000]";
mes "You must be a level 1 Novice.";
close;
}
if(Weight > 0) {
mes "Lower your weight, Remove all your items.";
close;
}
mes "[^0000FFZombie Vs. Novice^000000]";
mes "You want to join the Event?";
next;
switch(select("Yes","No")) {
case 1:
npctalk ""+strcharinfo(0)+" has registered for the Zombie v.s. Novice.";
sc_end SC_ALL;
sc_start SC_DECREASEAGI,1200000,10;
percentheal 100,100;
sc_start SC_STRIPSHIELD,1200000,5;
sc_start SC_STRIPWEAPON,1200000,5;
sc_start SC_STRIPARMOR,1200000,5;
sc_start SC_STRIPHELM,1200000,5;
statusup2 bStr,-999;
statusup2 bAgi,-999;
statusup2 bVit,-999;
statusup2 bInt,-999;
statusup2 bDex,-999;
statusup2 bLuk,-999;
warp "quiz_01",42,369;
end;
case 2:
mes "[^0000FFZombie Vs. Novice^000000]";
mes "Come Again, if you want to join.";
break;
}
close;

OnInit:
disablenpc "Novice vs. Zombie";
disablenpc "Prize";
end;

OnSat0800:
OnSat1100:
OnSat1400:
OnSat1700:
OnSun0800:
OnSun1100:
OnSun1400:
OnSun1700:
announce "Manager: Zombie Vs. Novice Event Registration is now Open, 3 minutes",0;
killmonsterall "quiz_01";
sleep 5000;
announce "Manager: NPC Appeared at Gonryun Town' Register Now!",0;
enablenpc "Novice vs. Zombie";
sleep 55000;
announce "Manager: Zombie Vs. Novice Registration will be closed in 2 minutes!",0;
sleep 60000;
announce "Manager: Zombie Vs. Novice Registration will be closed in 1 minute!",0;
sleep 50000;
mapannounce "quiz_01","Registration Closed!! in 10 seconds the Event will Start!",0;
disablenpc "Novice vs. Zombie";
sleep 5000;
for( set .@a,5; .@a > 0; set .@a,.@a - 1 ){
announce "Manager: Monster will spawn in ~"+.@a+"~",0;
sleep 1000;
}
if(getmapusers("guild_vs5") == 1){
mapannounce "guild_vs5","Manager: Event Ended 1 Participant Only..",0;
disablenpc "Prize";
announce "Manager: Event Ended 1 Participant Only",0;
disablenpc "Novice vs. Zombie";
sleep 1000;
}
for( set .@a,3; .@a > 0; set .@a,.@a - 1 ){
monster "quiz_01",42,369,"Zombie",1015,2;
sleep 10000;
}
while( getmapusers("quiz_01") > 1 ){
mapannounce "quiz_01",getmapusers("quiz_01") +" players still alive in the Event.",0,0x00FF00;;
sleep 2000;
}
killmonsterall "quiz_01";
announce "'Manager: No Player win the Event, due to all participant die.,0;
mapannounce "quiz_01","Manager: You survive the zombie waves, talk to the Prize NPC to get the reward.",0;
enablenpc "Prize";
end;

OnPCDieEvent:
getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;
if ( .@mapnvz$ == "quiz_01") {
sleep2 100;
warp "prontera",0,0;
atcommand "@alive "+ strcharinfo(0);
dispbottom "Sorry, but you were killed.";
}
sleep2 100;
if (.@mapnvz$ == "sec_pri" && getmapusers("quiz_01") == 1 ) {
killmonsterall "sec_pri";
sc_start SC_BASILICA,30000,1;
mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0;
enablenpc "Prize";
stopnpctimer;
end;
}
end;
}

quiz_01,42,369,3 script Prize 72,{
if(getmapusers("quiz_01") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
announce "In ' Zombie Vs. Novice ' has won" + strcharinfo (0) + "! We congratulate "+(( Sex )? "HIM":"HER")+"!",0;
getitem 7227,1;
warp "prontera",156,223;
disablenpc "Prize";
end;
}

// == Mapflags
quiz_01 mapflag gvg
quiz_01 mapflag nowarp
quiz_01 mapflag nowarpto
quiz_01 mapflag noteleport
quiz_01 mapflag nosave
quiz_01 mapflag nomemo
quiz_01 mapflag nobranch
quiz_01 mapflag pvp_noparty
quiz_01 mapflag nocommand 80
quiz_01 mapflag restricted 5

- thanks script is fix and done.. thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...