viewing paste Unknown #10059 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
 
prontera,146,186,3      script  LMS Manager     106,{
mes "[LMS Manager]";
mes "Hello What can I do for you?";
menu "Register",-,"What is LMS?",what,"Leave",leave;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "pvp_n_1-5",98,99;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
mes "[LMS Manager]";
mes "That's all";
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
 
 
OnMinute60:
enablenpc "LMS Manager";
waitingroom "L.M.S. Registration",0;
pvpoff "pvp_n_1-5";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
disablenpc "LMS Manager";
pvpoff "pvp_n_1-5";
mapannounce "pvp_n_1-5","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("pvp_n_1-5") == 1){
mapannounce "pvp_n_1-5","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "pvp_n_1-5";
mapwarp "pvp_n_1-5","prontera",156,181;
}
mapannounce "pvp_n_1-5","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "pvp_n_1-5","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "pvp_n_1-5","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "pvp_n_1-5","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "pvp_n_1-5","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "pvp_n_1-5","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "pvp_n_1-5";
enablenpc "Mr. Banker";
 
OnTimer5000:
if(getmapusers("pvp_n_1-5") == 0){
Announce "Event Cancelled due to lack of participants.",0;
}else if(getmapusers("pvp_n_1-5") == 1){
mapannounce "pvp_n_1-5","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "pvp_n_1-5";
}else if(getmapusers("pvp_n_1-5") == 2){
mapannounce "pvp_n_1-5","Mr. Banker: Last 2 Brave warriors are still alive!",0;
}else if(getmapusers("pvp_n_1-5") > 2){
}
 
OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
}
//------------------------
 
pvp_n_1-5,98,99,3       script  Checker 780,{
 
mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
mes "There are currently ["+getmapusers("pvp_n_1-5")+"]players on map";
 
OnInit:
waitingroom "Map Checker",0;
}
 
//--------------------------
 
//--------------------------
pvp_n_1-5,99,100,3      script  Mr. Banker      56,{
if(getmapusers("pvp_n_1-5") > 1){
npctalk "Only the last Survivor can talk with me.";
}
mes "[Banker]";
mes "Congrats. You've won.";
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 28059, 1;
mes "You will return now";
warp "prontera",156,191;
disablenpc "Mr. Banker";
 
OnInit:
while(1){
waitingroom "["+getmapusers("pvp_n_1-5")+"] Participants ",0;
sleep 1000;
}
 
 
OnPCDieEvent:
if( strcharinfo(3) != "pvp_n_1-5")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
 
}
 
 
// == Mapflags
pvp_n_1-5 mapflag pvp
pvp_n_1-5 mapflag nowarp
pvp_n_1-5 mapflag nowarpto
pvp_n_1-5 mapflag noteleport
pvp_n_1-5 mapflag nosave
pvp_n_1-5 mapflag nomemo
pvp_n_1-5 mapflag nobranch
pvp_n_1-5 mapflag pvp_noparty
Viewed 405 times, submitted by unknown.