alone20 Posted June 2, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 05/05/14 Last Seen: July 10, 2020 Share Posted June 2, 2014 Guys i would like to ask RFYL event script, can anyone help me? Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted June 2, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted June 2, 2014 - script announce_RFYL -1,{ //Event Start Time //OnClock0600: //6am //OnClock1200: //12pm noon OnClock1415: //2:15pm //OnClock1800: //6pm OnClock0000: //12pm midnight announce "The Run For Your Life Event will begin in 3 Minutes.",0; killmonsterall "quiz_01"; sleep 5000; announce "The Run For Your Life NPC has appeared in Prontera!",0; enablenpc "RFYL Warper"; sleep 55000; announce "Event GM: Run For Your life will begin in 2 minutes.You better get ready!",0; sleep 60000; announce "Event GM: Run For Your Life will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the monster will appear!",0; sleep 25000; announce "Event GM:Run For Your life Event will begin in ~5~",0; sleep 1000; announce "~4~",0; sleep 1000; announce "~3~",0; sleep 1000; announce "~2~",0; sleep 1000; announce "~1~",0; sleep 1000; announce "Event GM: Run For Your Life Event Has begun!!",0; monster "quiz_01",42,369,"Agav",2500,1; disablenpc "RFYL Warper"; sleep 10000; monster "quiz_01",42,369,"Agav-2",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-3",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-4",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-5",2500,1; initnpctimer; end; OnTimer5000: if ( getmapusers("quiz_01") == 0 ) { killmonsterall "quiz_01"; announce "Run For Your Life Event has ended.All the monsters are gone.",0; disablenpc "Prize"; stopnpctimer; end; } else if ( getmapusers("quiz_01") > 1 ) { if ($@RFYLCounter >= 3){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; } } else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; } sleep 10000; set $@RFYLCounter,$@RFYLCounter+1; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: getmapxy .@maprfyl$,.@xrfyl,.@yrfyl,0; if ( .@maprfyl$ == "quiz_01") { sleep2 1; warp "prontera",156,223; atcommand "@alive "+ strcharinfo(0); dispbottom "You have lost..."; } sleep2 1000; if ( .@maprfyl$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, please approach to Prize NPC.",0; enablenpc "Prize"; set $@RFYLCounter,0; stopnpctimer; end; } end; } quiz_01,42,369,3 script Prize 72,{ announce "Hey "+strcharinfo(0)+" has won in Run For Your Life Event Congrats!",0; getitem 7227,1; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,152,282,3 script RFYL Warper 84,{ mes "[^0000FFRFYL Warper^000000]"; mes "Hi "+strcharinfo(0)+""; mes "^696969Do you wish to participate in the Run For Your Life Event?^000000"; next; switch(select("Yes","No")) { case 1: sc_end SC_ALL; sc_start SC_DECREASEAGI,300000,10; percentheal 100,100; warp "quiz_01",42,369; end; break; case 2: mes "[^0000FFRFYL Warper^000000]"; mes "Brains brainnnss.. brains? Mind."; mes "^696969It's really fun! Come join us when you change your mind.^000000"; close; } OnInit: disablenpc "RFYL Warper"; disablenpc "Prize"; end; } Quote Link to comment Share on other sites More sharing options...
alone20 Posted June 2, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 05/05/14 Last Seen: July 10, 2020 Author Share Posted June 2, 2014 - script announce_RFYL -1,{ //Event Start Time //OnClock0600: //6am //OnClock1200: //12pm noon OnClock1415: //2:15pm //OnClock1800: //6pm OnClock0000: //12pm midnight announce "The Run For Your Life Event will begin in 3 Minutes.",0; killmonsterall "quiz_01"; sleep 5000; announce "The Run For Your Life NPC has appeared in Prontera!",0; enablenpc "RFYL Warper"; sleep 55000; announce "Event GM: Run For Your life will begin in 2 minutes.You better get ready!",0; sleep 60000; announce "Event GM: Run For Your Life will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the monster will appear!",0; sleep 25000; announce "Event GM:Run For Your life Event will begin in ~5~",0; sleep 1000; announce "~4~",0; sleep 1000; announce "~3~",0; sleep 1000; announce "~2~",0; sleep 1000; announce "~1~",0; sleep 1000; announce "Event GM: Run For Your Life Event Has begun!!",0; monster "quiz_01",42,369,"Agav",2500,1; disablenpc "RFYL Warper"; sleep 10000; monster "quiz_01",42,369,"Agav-2",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-3",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-4",2500,1; sleep 10000; monster "quiz_01",42,369,"Agav-5",2500,1; initnpctimer; end; OnTimer5000: if ( getmapusers("quiz_01") == 0 ) { killmonsterall "quiz_01"; announce "Run For Your Life Event has ended.All the monsters are gone.",0; disablenpc "Prize"; stopnpctimer; end; } else if ( getmapusers("quiz_01") > 1 ) { if ($@RFYLCounter >= 3){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; } } else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; } sleep 10000; set $@RFYLCounter,$@RFYLCounter+1; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: getmapxy .@maprfyl$,.@xrfyl,.@yrfyl,0; if ( .@maprfyl$ == "quiz_01") { sleep2 1; warp "prontera",156,223; atcommand "@alive "+ strcharinfo(0); dispbottom "You have lost..."; } sleep2 1000; if ( .@maprfyl$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, please approach to Prize NPC.",0; enablenpc "Prize"; set $@RFYLCounter,0; stopnpctimer; end; } end; } quiz_01,42,369,3 script Prize 72,{ announce "Hey "+strcharinfo(0)+" has won in Run For Your Life Event Congrats!",0; getitem 7227,1; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,152,282,3 script RFYL Warper 84,{ mes "[^0000FFRFYL Warper^000000]"; mes "Hi "+strcharinfo(0)+""; mes "^696969Do you wish to participate in the Run For Your Life Event?^000000"; next; switch(select("Yes","No")) { case 1: sc_end SC_ALL; sc_start SC_DECREASEAGI,300000,10; percentheal 100,100; warp "quiz_01",42,369; end; break; case 2: mes "[^0000FFRFYL Warper^000000]"; mes "Brains brainnnss.. brains? Mind."; mes "^696969It's really fun! Come join us when you change your mind.^000000"; close; } OnInit: disablenpc "RFYL Warper"; disablenpc "Prize"; end; } thanks for the reply. but in any case, do you have something more simplies than this one. a RFYL for novice only Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted June 3, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted June 3, 2014 adde if( BaseJob == Job_Novice ) { under case 1: Quote Link to comment Share on other sites More sharing options...
alone20 Posted June 3, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 05/05/14 Last Seen: July 10, 2020 Author Share Posted June 3, 2014 adde if( BaseJob == Job_Novice ) { under case 1: thanks. one more thing sir. can u do it every 30 mins. Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted June 4, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted June 4, 2014 //Event Start Time //OnClock0600: //6am //OnClock1200: //12pm noon OnClock1415: //2:15pm //OnClock1800: //6pm OnClock0000: //12pm midnight To OnMinute30: Quote Link to comment Share on other sites More sharing options...
alone20 Posted June 4, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 05/05/14 Last Seen: July 10, 2020 Author Share Posted June 4, 2014 //Event Start Time //OnClock0600: //6am //OnClock1200: //12pm noon OnClock1415: //2:15pm //OnClock1800: //6pm OnClock0000: //12pm midnight To OnMinute30: Thansk alot for the help! Quote Link to comment Share on other sites More sharing options...
Question
alone20
Guys i would like to ask RFYL event script, can anyone help me?
Link to comment
Share on other sites
6 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.