Hello, I'm trying to get this NPC to warp my character to a GM area we've added into the game. If anyone can help that'd be great.
//================= Vanaheim Online GM Area Butler ================//
veil,82,82,7 script Alfred 109,{
if(getgmlevel()>=99) {
mes "[Alfred]";
mes "Good day, Boss. Would you like to change the password today?"; next;
if(!(select("Yes:No")&2)) {
mes "[Alfred]";
mes "Alright, what will it be this time?";
next;
input .@lb_pass$;
mes "[Alfred]";
mes "I'll keep it at ["+.@lb_pass$+"]. Mum's the word, sire!";
set($lb_pass$,.@lb_pass$);
close;
}
}
mes "[Alfred]";
mes "Password, please.";
next;
input .@lb_pass$;
if(.@lb_pass$ != $lb_pass$){
mes "[Alfred]";
mes "Incorrect password.";
close;
}
mes "[Alfred]";
mes "That is correct. How can I be of service today, sire?";
close2;
if(getgmlevel()<=3) {
mes "Sorry. You don't have access here.";
end;
}
else {
mes "[ ^FF0000System^000000 ]";
mes "Welcome ^FF0000"+strcharinfo(0)+"^000000 !";
next;
mes "[ ^FF0000System^000000 ]";
mes "Come right in, sire. we will make arrangments inside.";
next;
===>>>(This is where I need it to warp to 1@bamq x,y) <<<=====
Question
Rivers
Hello, I'm trying to get this NPC to warp my character to a GM area we've added into the game. If anyone can help that'd be great.
//================= Vanaheim Online GM Area Butler ================// veil,82,82,7 script Alfred 109,{ if(getgmlevel()>=99) { mes "[Alfred]"; mes "Good day, Boss. Would you like to change the password today?"; next; if(!(select("Yes:No")&2)) { mes "[Alfred]"; mes "Alright, what will it be this time?"; next; input .@lb_pass$; mes "[Alfred]"; mes "I'll keep it at ["+.@lb_pass$+"]. Mum's the word, sire!"; set($lb_pass$,.@lb_pass$); close; } } mes "[Alfred]"; mes "Password, please."; next; input .@lb_pass$; if(.@lb_pass$ != $lb_pass$){ mes "[Alfred]"; mes "Incorrect password."; close; } mes "[Alfred]"; mes "That is correct. How can I be of service today, sire?"; close2; if(getgmlevel()<=3) { mes "Sorry. You don't have access here."; end; } else { mes "[ ^FF0000System^000000 ]"; mes "Welcome ^FF0000"+strcharinfo(0)+"^000000 !"; next; mes "[ ^FF0000System^000000 ]"; mes "Come right in, sire. we will make arrangments inside."; next; ===>>>(This is where I need it to warp to 1@bamq x,y) <<<=====
Code Box
Link to comment
Share on other sites
2 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.