Hi guys, I tried to make an npc which can teleport a player as long as he is in a party. If player doesnt, they cant use the warper.
However, I always got an error which told me that I failed to put a curly in my script.
prontera,145,199,4 script Struggler 10059,{
if (getcharid(1) == 0){
mes "^ff0000To enter, you must create or join a party of 1 or more members.^000000";
close;
}
else {
mes .@npc$;
mes "Would you like to enter the dungeon?";
close2;
warp "chalo2",70,114;
end;
}
}
I hope anyone can tell me where my mistake is. Thank you.
Question
Rizz
Hi guys, I tried to make an npc which can teleport a player as long as he is in a party. If player doesnt, they cant use the warper.
However, I always got an error which told me that I failed to put a curly in my script.
prontera,145,199,4 script Struggler 10059,{ if (getcharid(1) == 0){ mes "^ff0000To enter, you must create or join a party of 1 or more members.^000000"; close; } else { mes .@npc$; mes "Would you like to enter the dungeon?"; close2; warp "chalo2",70,114; end; } }
I hope anyone can tell me where my mistake is. Thank you.
Link to comment
Share on other sites
6 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.