hi. anyone can help me with my script? The map should be in skilloff before the event starts then automatically it will divert to skillon after the countdown.. Thank you in advance
dewata,200,171,4 script Registry 106,{
npctalk ""+strcharinfo(0)+" has registered for the LMS.";
warp "guild_vs5",0,0;
end;
OnClock1700:
OnClock2100:
enablenpc "Registry";
delwaitingroom;
waitingroom "Register LMS Now",0;
announce "Mr. Registry: The Last Man Standing event will be starting shortly.",0;
sleep2 7000;
announce "Mr. Registry: For those who wants to play, please proceed to Dewata to register.",0;
sleep2 7000;
announce "Mr. Registry: After 1 Minute the Registration will close.",0;
sleep2 10000;
announce "Mr. Registry: Please go to Dewata and register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 7000;
announce "Mr. Registry: Last 30 seconds.",0;
sleep2 7000;
announce "Mr. Registry: If you want to join please Register in Dewata.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "Mr. Registry: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 5000;
}
announce "Mr. Registry : Time's up.",0;
delwaitingroom;
disablenpc "Registry";
stopnpctimer;
mapannounce "guild_vs5","Mr. Registry: The Last Man Standing Event will start shortly",0;
sleep2 5000;
mapannounce "guild_vs5","Mr. Registry: But before we start this is just a few reminders..",0;
sleep2 4000;
mapannounce "guild_vs5","Mr. Registry: Using Cloaking , Hiding , Body Relocation is STRICTLY NOT ALLOWED..",0;
sleep2 3000;
mapannounce "guild_vs5","Mr. Registry: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs5","Mr. Registry: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 500;
mapannounce "guild_vs5","Mr. Registry: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs5","Mr. Registry : "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
enablenpc "Mr. Banker";
initnpctimer;
end;
OnTimer5000:
if(getmapusers("guild_vs5") == 0){
Announce "Mr. Registry : Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs5") == 1){
mapannounce "guild_vs5","Mr. Banker : Please talk to me to get your prize..",0;
pvpoff "guild_vs5";
stopnpctimer;
}else if(getmapusers("guild_vs5") == 2){
mapannounce "guild_vs5","Mr. Banker : Last 2 Brave warriors are still alive!",0;
initnpctimer;
}
end;
OnInit:
disablenpc "Mr. Banker";
disablenpc "Registry";
end;
}
//--------------------------
guild_vs5,49,49,6 script Mr. Banker 56,{
if(getmapusers("guild_vs5") > 1){
npctalk "Mr. Banker : Only the last Survivor can talk with me.";
end;
}
mes "^C45AEC** Mr. Banker **^000000";
mes "Congratulations! You've won 100 Event Tickets.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7711,100;
mes "You will return now";
close2;
mapwarp "guild_vs5","dewata",200,167;
disablenpc "Mr. Banker";
end;
OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs5")+"] Participants ",0;
sleep 1000;
}
end;
OnPCDieEvent:
if( strcharinfo(3) != "guild_vs5")end;
set #kill_point, 0;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
atcommand "@alive";
sleep2 100;
warp "dewata",200,167;
end;
OnPCKillEvent:
if( strcharinfo(3) != "guild_vs5")end;
set #kill_point,#kill_point+1;
if ( #kill_point % 4 == 0) {
announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all;
getitem 7711, 5;
}
end;
}
// == Mapflags
guild_vs5 mapflag nowarp
guild_vs5 mapflag nowarpto
guild_vs5 mapflag noteleport
guild_vs5 mapflag nosave
guild_vs5 mapflag nomemo
guild_vs5 mapflag nobranch
guild_vs5 mapflag pvp_noparty
guild_vs5 mapflag restricted 1
Question
MusiLiciouS
hi. anyone can help me with my script? The map should be in skilloff before the event starts then automatically it will divert to skillon after the countdown.. Thank you in advance
Link to comment
Share on other sites
0 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.