Hi, hope that someone can help me with this script
i need a script npc that can warp a Castle Owner (Guild Leader ONLY) to a specific place.
example my OPEN Castle is Krimhield so who ever the guild leader of krim can only use the npc and warp to a specific place? make sense?
thanks in advance to those who will help me...
beginner level script
prontera,156,172,5 script kdfhskfjhs 100,{
mes "select a castle";
next;
menu "Kriemhild", L_prtg_cas01,
"Swanhild", L_prtg_cas02,
"Fadhgridh", L_prtg_cas03;
L_prtg_cas01:
if ( getcharid(2) != getcastledata( "prtg_cas01", 1 ) ) {
mes "your guild is not the owner of Krimhield castle";
close;
}
if ( getcharid(0) != getguildmasterid( getcharid(2) ) ) {
mes "you are not guild master of your guild";
close;
}
wa