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 [email protected]_pass$;
mes "[Alfred]";
mes "I'll keep it at ["[email protected]_pass$+"]. Mum's the word, sire!";
set($lb_pass$,[email protected]_pass$);
close;
}
}
mes "[Alfred]";
mes "Password, please.";
next;
input [email protected]_pass$;
if([email protected]_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 [email protected] x,y) <<<=====
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 [email protected]_pass$; mes "[Alfred]"; mes "I'll keep it at ["[email protected]_pass$+"]. Mum's the word, sire!"; set($lb_pass$,[email protected]_pass$); close; } } mes "[Alfred]"; mes "Password, please."; next; input [email protected]_pass$; if([email protected]_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 [email protected] x,y) <<<=====
Edited by Haruka MayumiCode Box
Link to comment
Share on other sites