Jump to content
  • 0

Help with this LMS Script


creeps123

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

- script LMS#disable -1,{
OnInit:
OnReset:
enablenpc "LMS Manager";
enablenpc "LMS Manager#manual";
disablenpc "Michael Buffer";
pvpoff "guild_vs5";
pvpoff "quiz_02";
set $@eventongoing,0;
set $@registeropen,0;
end;
}
- script LMS -1,{
end;
OnClock0000:
OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
OnClock0500:
OnClock0600:
OnClock0700:
OnClock0800:
OnClock0900:
OnClock1000:
OnClock1100:
OnClock1200:
OnClock1300:
OnClock1400:
OnClock1500:
OnClock1600:
OnClock1700:
OnClock1800:
OnClock1900:
OnClock2000:
OnClock2100:
OnClock2200:
OnClock2300:
OnManual:
startlmsevent:
if ($@eventongoing == 1){end;}
set $@eventongoing,1;
set $@registeropen,1;
announce "Michael Buffer: A Last Man Standing Event will be held shortly.",0;
sleep2 5000;
announce "Michael Buffer: Those who want to play, please proceed to Prontera and look for the manager.",0;
movenpc "LMS Manager",155,177;
movenpc "LMS Manager",155,177;
sleep2 5000;
announce "Michael Buffer: The Registration will be available for 1 minute and 30 seconds.",0;
sleep2 15000;
announce "Michael Buffer: Please go to Prontera and Register now if you want to join.",0;
sleep2 15000;
initnpctimer;
end;
OnTimer30000:
announce "Michael Buffer: Last 30 seconds.",0;
sleep2 5000;
announce "Michael Buffer: Registration for the LMS Event is being held at Prontera.",0;
end;
OnTimer50000:
announce "Michael Buffer: Last 10 seconds.",0;
end;
OnTimer55000:
announce "Michael Buffer: 5.",0;
end;
OnTimer56000:
announce "Michael Buffer: 4.",0;
end;
OnTimer57000:
announce "Michael Buffer: 3.",0;
end;
OnTimer58000:
announce "Michael Buffer: 2.",0;
end;
OnTimer59000:
announce "Michael Buffer: 1.",0;
end;
OnTimer60000:
announce "Michael Buffer: Time's up.",0;
set $@registeropen,0;
end;
OnTimer61000:
movenpc "LMS Manager",155,180;
movenpc "LMS Manager",135,181;
donpcevent "Michael Buffer::OnEnable";
stopnpctimer;
end;
}
//---------------------------------Warper--------------------------------
prontera,135,177,5 script LMS Manager 721,{
if ($@registeropen == 0) {
goto offduty;
end;
}
mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering " + strcharinfo(0) + ", Have fun!";
next;
set #kill_point, 0;
warp "quiz_02",31,345;
end;
what:
mes "[LMS Manager]";
mes "LMS means Last Man Standing";
mes "LMS is a PvP event wherein the last player alive wins.";
close;
leave:
mes "[LMS Manager]";
mes "Hope you join the next round which is in 2 hours.";
close;
end;
offduty:
mes "[LMS Manager]";
mes "Sorry, registration is closed";
close;
end;
OnInit:
set $@registeropen,0;
npcspeed 0;
end;
}
quiz_02,286,234,5 script LMS Manager#manual 721,{
if(getgmlevel()<98){
mes "[LMS Manager]";
mes "Sorry i'm off duty right now";
close;
end;
}
mes "Hi GM, do you want to start a special unscheduled LMSevent?";
menu "Yes",-,"No",dontstart;
if ($@eventongoing == 1){
mes "Sorry event on going";
close;
end;}
doevent "LMS::OnManual";
close;
end;
dontstart:
mes "OK, GM's orders";
close;
end;
}
//--------------------------
//--------------------------
guild_vs5,50,50,6 script Michael Buffer 61,{
mes "[Michael Buffer]";
mes "Congrats. You've won.";
next;
announce "Michael Buffer: We have a winner! Congratulations to "+strcharinfo(0)+"!",0;
getitem 7711, 1;
mes "You will be accompanied home now";
next;
warp "prontera",156,191;
atcommand "@hidenpc Michael Buffer";
close;
end;
OnEnable:
pvpoff "guild_vs5";
mapannounce "quiz_02","Michael Buffer: The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "quiz_02","Michael Buffer: Here are the rules..",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: KILL EVERYONE IN SIGHT!!",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: Only the Last Man Standing will win this event!!",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: Extra rewards will be given to those with lots of kills!",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: Get Ready!! Here we go!!....",0;
sleep2 5000;
mapannounce "quiz_02","Michael Buffer: 5",0;
sleep2 1000;
mapannounce "quiz_02","Michael Buffer: 4",0;
sleep2 1000;
mapannounce "quiz_02","Michael Buffer: 3",0;
sleep2 1000;
mapannounce "quiz_02","Michael Buffer: 2",0;
sleep2 1000;
mapannounce "quiz_02","Michael Buffer: 1",0;
areapercentheal "quiz_02",20,357,43,334,100,100;
sleep2 1000;
mapannounce "quiz_02","Michael Buffer: GO!!",0;
set .announcecount,0;
pvpon "guild_vs5";
areawarp "quiz_02",20,357,43,334,"guild_vs5",0,0;
goto L_Start;
end;
L_Start:
announce "The LMS event has started!",0;
sleep2 5000;
if(getmapusers("guild_vs5") == 1) goto L_Champ;
if(getmapusers("guild_vs5") == 0) goto L_None;
if(getmapusers("guild_vs5") > 1) {
goto timer;
end;
}
timer:
initnpctimer;
end;
OnTimer1000:
end;
OnTimer1100:
if(getmapusers("guild_vs5") == 1) goto L_Champ;
if(getmapusers("guild_vs5") > 2) goto timer;
if(getmapusers("guild_vs5") == 2) goto champ;
stopnpctimer;
end;
champ:
if(.announcecount % 5 == 0){
mapannounce "guild_vs5","Michael Buffer: Only Two players left in the competition!!",0;
}
set .announcecount, .announcecount+1;
sleep2 5000;
if(getmapusers("guild_vs5") == 1) goto L_Champ;
if(getmapusers("guild_vs5") > 1) goto timer;
end;
L_Champ:
mapannounce "guild_vs5","Michael Buffer: Please talk to me to get your prize..",0;
set .announcecount,0;
pvpoff "guild_vs5";
atcommand "@shownpc Michael Buffer";
end;
L_None:
disablenpc "Michael Buffer";
pvpoff "guild_vs5";
set .announcecount,0;
announce "The LMS event has ended because noone participated",0;
donpcevent "LMS#disable::OnReset";
end;
}
//----- Die = warp prt -----
- script Ded_Uwi -1,{
OnPCDieEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="guild_vs5")
{
 set #kill_point, 0;
 announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
 end;
}
OnPCKillEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="guild_vs5")
{
set #kill_point,#kill_point+1;
if ( #kill_point == 5) {
announce ""+strcharinfo(0)+" is on a killing streak!",bc_all;
getitem 14232, 2;
end;
}
if ( #kill_point > 5) {
announce "SOMEBODY STOP "+strcharinfo(0)+"!!",bc_all;
getitem 14232, 1;
end;
}
}
}

// == Mapflags
quiz_02 mapflag nowarp
quiz_02 mapflag nowarpto
quiz_02 mapflag noteleport
quiz_02 mapflag nosave
quiz_02 mapflag nomemo
quiz_02 mapflag noreturn
quiz_02 mapflag nogo
guild_vs5 mapflag nowarp
guild_vs5 mapflag nowarpto
guild_vs5 mapflag noteleport
guild_vs5 mapflag nosave
guild_vs5 mapflag nomemo
guild_vs5 mapflag noreturn
guild_vs5 mapflag nopenalty
guild_vs5 mapflag nogo
guild_vs5 mapflag nodrop
guild_vs5 mapflag nocommand 98
guild_vs5 mapflag nochat
guild_vs5 mapflag novending
guild_vs5 mapflag notrade
guild_vs5 mapflag nobranch
guild_vs5 mapflag pvp_noparty
guild_vs5 mapflag pvp_noguild

Hi.. above is my script of LMS.. I'm wondering why my npc doesn't automatically trigger 7days a week? if i make a @reloadscript.. it only triggers every hour per day.. but doesn't continue up to 7days a week not even 2 days per week.. please help me guys.. thank you all..

Edited by Mysterious
Please use [codebox] for long content.
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

First and foremost, change this

OnClock0000:
OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
OnClock0500:
OnClock0600:
OnClock0700:
OnClock0800:
OnClock0900:
OnClock1000:
OnClock1100:
OnClock1200:
OnClock1300:
OnClock1400:
OnClock1500:
OnClock1600:
OnClock1700:
OnClock1800:
OnClock1900:
OnClock2000:
OnClock2100:
OnClock2200:
OnClock2300:

to this

OnMinute00:

secondly, check your server time.. for checking if the script works you can change

OnMinuteXX:

change xx..

Example: Your server time is 13:01 (1:01 P.M), set

OnMinute05:

and then reloadscript, wait for a few minutes.. if your servertime hits 13:05 (1:05 P.M) and the script hasn't started, recheck the changes you made...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

-	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
end;
}

-	script	LMS	-1,{

OnClock4000:
OnClock8000:
OnClock1100:
OnClock1500:
OnClock1800:
OnClock2200:
goto startlmsevent;

startlmsevent:
sleep 5000;
announce "neRO Manager: The Last Man Standing event will be starting shortly.",0;
sleep 5000;
announce "neRO Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep 5000;
announce "neRO Manager: After 3 Minutes the Registration will close.",0;
enablenpc "All Job Manager";
sleep 55000;
announce "neRO Manager: Last 2 Minutes",0;
sleep 60000;
announce "neRO Manager: Last 1 Minute",0;
sleep 30000;
announce "neRO Manager: Last 30 Seconds",0;
sleep 25000;
announce "neRO Manager: 5.",0;
sleep 1000;
announce "neRO Manager: 4.",0;
sleep 1000;
announce "neRO Manager: 3.",0;
sleep 1000;
announce "neRO Manager: 2.",0;
sleep 1000;
announce "neRO Manager: 1.",0;
sleep 1000;
announce "neRO Manager: Time's up.",0;
sleep 1000;
disablenpc "All Job Manager";
donpcevent "Mr. Banker::OnEnable";
stopnpctimer;
end;
}
//---------All Job Registration---------------
prontera,156,177,5	script	All Job Manager	106,{

mes "[neRO Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
if (BaseLevel < 900) goto NOLMS;
mes "[neRO Manager]";
mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!";
warp "force_1-3",100,180;
end;
what:
mes "[neRO Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[neRO Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 100 Cash Point if you are the Last Man Standing at the arena.";
next;
mes "[neRO Manager]";
mes "That's all";
close;
leave:
mes "[neRO Manager]";
mes "I hope you will register next time";
close;
NOLMS:
mes "[neRO Manager]";
mes "Sorry Base Level 900~999 Only can enter here.";
mes "please comeback later";
close;


}

//--------------------------

//--------------------------
force_1-3,100,180,6	script	Mr. Banker	56,{

mes "[banker]";
mes "Congrats. You've won.";
next;
announce "neRO Manager: We have a winner! well done "+strcharinfo(0)+".",0;
set #CASHPOINTS,#CASHPOINTS + 100;
dispbottom "You have won 100 cash points total of = "+#CASHPOINTS+" points.";
mes "You will return now";
warp "poring_w02",99,72;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "force_1-3";
mapannounce "force_1-3","neRO Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager:Using Cloaking is strictly not allowed..",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") == 0) goto L_None;
if(getmapusers("force_1-3") > 1) {
mapannounce "force_1-3","neRO Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: 5",0;
sleep2 5000;
mapannounce "force_1-3","neRO Manager: 4",0;
sleep2 4000;
mapannounce "force_1-3","neRO Manager: 3",0;
sleep2 3000;
mapannounce "force_1-3","neRO Manager: 2",0;
sleep2 2000;
mapannounce "force_1-3","neRO Manager: 1",0;
sleep2 1000;
pvpon "force_1-3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") > 2) goto timer;
if(getmapusers("force_1-3") == 2) goto champ;
stopnpctimer;
end;

champ:
announce "neRO Manager: Last 2 Brave warriors are still alive!",0;
sleep2 10000;
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") > 1) goto timer;
end;

L_Champ:
mapannounce "force_1-3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "force_1-3";
enablenpc "Mr. Banker";
end;

L_None:
disablenpc "Banker";
pvpoff "force_1-3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="force_1-3")
{
	set #kill_point, 0;
	warp "que_moon",34,24;
	atcommand "@alive "+ strcharinfo(0);
	end;
	}
OnPCKillEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="pvp_n_1-5")
{
set #kill_point,#kill_point+1;
if ( #kill_point % 4 == 0) {
end;
}
}
}


// == Mapflags
force_1-3	mapflag	pvp_noguild
force_1-3	mapflag	pvp_noparty
force_1-3	mapflag	nowarp
force_1-3	mapflag	nowarpto
force_1-3	mapflag	noteleport
force_1-3	mapflag	nosave
force_1-3	mapflag	nomemo
force_1-3	mapflag	nobranch
force_1-3	mapflag	restricted	1

i don't know what is your point but try this one this is working

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

First and foremost, change this

OnClock0000:
OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
OnClock0500:
OnClock0600:
OnClock0700:
OnClock0800:
OnClock0900:
OnClock1000:
OnClock1100:
OnClock1200:
OnClock1300:
OnClock1400:
OnClock1500:
OnClock1600:
OnClock1700:
OnClock1800:
OnClock1900:
OnClock2000:
OnClock2100:
OnClock2200:
OnClock2300:

to this

OnMinute00:

secondly, check your server time.. for checking if the script works you can change

OnMinuteXX:

change xx..

Example: Your server time is 13:01 (1:01 P.M), set

OnMinute05:

and then reloadscript, wait for a few minutes.. if your servertime hits 13:05 (1:05 P.M) and the script hasn't started, recheck the changes you made...

yes it is starting.. my point is.. everytime i reload script my script works the whole day.. but after the whole day cycle.. it doesnt trigger anymore.. i have to reload it again the next day.. so that it would work the 2nd whole day..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

you have this

set $@eventongoing,1;
set $@registeropen,1;

but you never set it back to 0. The only time it's set to 0 is during script initialization. You have to set it back to 0 after the event.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

you have this

set $@eventongoing,1;
set $@registeropen,1;

but you never set it back to 0. The only time it's set to 0 is during script initialization. You have to set it back to 0 after the event.

I see now your point.. ermm,, how can i set it back to 0 after the event? can you tell me what to add and where to put? thanks a lot!

bump pls :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/18/12
  • Last Seen:  

-	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
end;
}

-	script	LMS	-1,{

OnClock4000:
OnClock8000:
OnClock1100:
OnClock1500:
OnClock1800:
OnClock2200:
goto startlmsevent;

startlmsevent:
sleep 5000;
announce "neRO Manager: The Last Man Standing event will be starting shortly.",0;
sleep 5000;
announce "neRO Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep 5000;
announce "neRO Manager: After 3 Minutes the Registration will close.",0;
enablenpc "All Job Manager";
sleep 55000;
announce "neRO Manager: Last 2 Minutes",0;
sleep 60000;
announce "neRO Manager: Last 1 Minute",0;
sleep 30000;
announce "neRO Manager: Last 30 Seconds",0;
sleep 25000;
announce "neRO Manager: 5.",0;
sleep 1000;
announce "neRO Manager: 4.",0;
sleep 1000;
announce "neRO Manager: 3.",0;
sleep 1000;
announce "neRO Manager: 2.",0;
sleep 1000;
announce "neRO Manager: 1.",0;
sleep 1000;
announce "neRO Manager: Time's up.",0;
sleep 1000;
disablenpc "All Job Manager";
donpcevent "Mr. Banker::OnEnable";
stopnpctimer;
end;
}
//---------All Job Registration---------------
prontera,156,177,5	script	All Job Manager	106,{

mes "[neRO Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
if (BaseLevel < 900) goto NOLMS;
mes "[neRO Manager]";
mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!";
warp "force_1-3",100,180;
end;
what:
mes "[neRO Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[neRO Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 100 Cash Point if you are the Last Man Standing at the arena.";
next;
mes "[neRO Manager]";
mes "That's all";
close;
leave:
mes "[neRO Manager]";
mes "I hope you will register next time";
close;
NOLMS:
mes "[neRO Manager]";
mes "Sorry Base Level 900~999 Only can enter here.";
mes "please comeback later";
close;


}

//--------------------------

//--------------------------
force_1-3,100,180,6	script	Mr. Banker	56,{

mes "[banker]";
mes "Congrats. You've won.";
next;
announce "neRO Manager: We have a winner! well done "+strcharinfo(0)+".",0;
set #CASHPOINTS,#CASHPOINTS + 100;
dispbottom "You have won 100 cash points total of = "+#CASHPOINTS+" points.";
mes "You will return now";
warp "poring_w02",99,72;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "force_1-3";
mapannounce "force_1-3","neRO Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager:Using Cloaking is strictly not allowed..",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") == 0) goto L_None;
if(getmapusers("force_1-3") > 1) {
mapannounce "force_1-3","neRO Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "force_1-3","neRO Manager: 5",0;
sleep2 5000;
mapannounce "force_1-3","neRO Manager: 4",0;
sleep2 4000;
mapannounce "force_1-3","neRO Manager: 3",0;
sleep2 3000;
mapannounce "force_1-3","neRO Manager: 2",0;
sleep2 2000;
mapannounce "force_1-3","neRO Manager: 1",0;
sleep2 1000;
pvpon "force_1-3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") > 2) goto timer;
if(getmapusers("force_1-3") == 2) goto champ;
stopnpctimer;
end;

champ:
announce "neRO Manager: Last 2 Brave warriors are still alive!",0;
sleep2 10000;
if(getmapusers("force_1-3") == 1) goto L_Champ;
if(getmapusers("force_1-3") > 1) goto timer;
end;

L_Champ:
mapannounce "force_1-3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "force_1-3";
enablenpc "Mr. Banker";
end;

L_None:
disablenpc "Banker";
pvpoff "force_1-3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="force_1-3")
{
	set #kill_point, 0;
	warp "que_moon",34,24;
	atcommand "@alive "+ strcharinfo(0);
	end;
	}
OnPCKillEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="pvp_n_1-5")
{
set #kill_point,#kill_point+1;
if ( #kill_point % 4 == 0) {
end;
}
}
}


// == Mapflags
force_1-3	mapflag	pvp_noguild
force_1-3	mapflag	pvp_noparty
force_1-3	mapflag	nowarp
force_1-3	mapflag	nowarpto
force_1-3	mapflag	noteleport
force_1-3	mapflag	nosave
force_1-3	mapflag	nomemo
force_1-3	mapflag	nobranch
force_1-3	mapflag	restricted	1

i don't know what is your point but try this one this is working

hello sir..how to make the prize will be 100 event coupon which is 30004

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

force_1-3,100,180,6 script Mr. Banker 56,{
mes "[banker]";
mes "Congrats. You've won.";
next;
announce "neRO Manager: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 30004,100;
dispbottom "You have won 100 event coupons.";
mes "You will return now";
warp "poring_w02",99,72;
disablenpc "Mr. Banker";
close;
end;

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...