can you help me with my script ? when I talk to it even the group id is 0 still goes to the gm menu.I want it if the player talks goes directly to player menu
here's my script :
prt_fild08,40,54,5 script Long Run Event Manager 512,{
set @npcname$, "[ ^FFA500 Long Run Event Manager^000000 ]";
if ( getgmlevel() < 60 ) goto GM_Menu;
GM_Menu:
mes @npcname$;
mes "Welcome, GM ^008000"+strcharinfo(0)+"^000000";
mes "How can I serve for you today ? Do you wish to start the Long Run Event ?";
next;
switch(select("Stop Event:^0000FFHost Event^000000:^FF0000Player Menu^000000")) {
Case 1:
mes @npcname$;
mes "Okay, the Event will be stopped.";
close2;
mapwarp "monk_test","prontera",155,181;
if ( $LongRun > 0 ){
announce "[ Long Run Event ] : A Game Master has stopped the Long Run Event.",bc_yellow|bc_all;
}
end;
Case 2:
mes @npcname$;
mes "Okay, the Registration for the Long Run has been open to public.";
mes "And GM have to go inside to investigate the progress of the Event.";
close2;
set $LongRun,1;
announce "[ Long Run Event ] has Begun !! You may register through Long Run Event Manager at prt_fild08 50,50.",bc_yellow|bc_all;
sleep 3000;
announce "[ Long Run Event ] : Only Players with fulfilled Requirements can join this Event.",bc_yellow|bc_all;
sleep 3000;
announce "[ Long Run Event ] : Hurry Up.",bc_yellow|bc_all;
areamonster "monk_test",367,384,367,391,"Warg Race Barricade",1906,8,"Warg Racing::OnMonsterDied";
end;
Case 3:
mes @npcname$;
mes "Okay, i will lead you there.";
next;
goto LongRunStart;
}
OnMonsterDied:
killmonster "monk_test","Warg Racing::OnMonsterDied";
warp "prontera",156,176;
areamonster "monk_test",367,384,367,391,"Warg Race Barricade",1906,8,"Warg Racing::OnMonsterDied";
end;
LongRunStart:
if ( $LongRun == 0 ) goto No_Event;
if ( $LongRun == 2 ) goto Event_Running;
mes @npcname$;
mes "Do you wish to join the Long Run Event ?";
mes "You may stand a chance to win some awesome items.";
next;
switch(select("No. Thank you.:^0000FFOf Course.^000000")) {
Case 1:
mes @npcname$;
mes "Okay. Come back again when you have changed your mind.";
close;
Case 2:
mes @npcname$;
mes "Alright. Please wait a moment.";
mes "You will be warp to the arena. Please wait for the next instruction.";
mes "The event will be started shortly.";
close2;
warp "monk_test",386,386;
set RallyPoint,0;
end;
}
}
Question
SlashGeeGee
Hello rA
can you help me with my script ? when I talk to it even the group id is 0 still goes to the gm menu.I want it if the player talks goes directly to player menu
here's my script :
Thanks in advance !
SlashGeeGee
Link to comment
Share on other sites
4 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.