Chickz Posted July 4, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Share Posted July 4, 2012 this npc will allow u to warp if you own certain castle e.g kriemhild/prtg_cas01... if the guild owner change and u still in that room e.g quiz_02 than u will be kick from that room all guild member of castle owner can enter this room... i try to make it but it's too difficult for me >.< Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 4, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 4, 2012 <header> { set .@Room$, "<your_map>"; set .@Castle$, "prtg_cas01"; mes "[special Guild Room]"; mes "Would you like to warp to the special guild room?"; mes "It's only available to the conquerors of "+getcastlename(.@Castle$)+", though."; next; if(select("Warp me!:Cancel")==2) close; mes "[special Guild Room]"; set .@i, getcastledata(.@Castle$,1); if (!.@i) { mes "Oh, nobody has conquered that castle, actually... so no one is allowed in!"; close; } if (!getcharid(2)) { mes "You aren't even in a guild!"; close; } if (getcharid(2) != .@i) { mes "Your guild doesn't own "+getcastlename(.@Castle$)+"."; mes "^0055FF"+getguildname(.@i)+"^000000 does."; close; } mes "Alright, here we go!"; close2; warp .@Room$,0,0; end; } Quote Link to comment Share on other sites More sharing options...
mofo Posted July 6, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 69 Reputation: 4 Joined: 07/02/12 Last Seen: November 3, 2013 Share Posted July 6, 2012 (edited) edited: i completely misread the first post. lol Edited July 6, 2012 by mofo Quote Link to comment Share on other sites More sharing options...
Chickz Posted July 7, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share Posted July 7, 2012 @Euphy: Sorry For The late reply.. thank you very much ^^ it work smoothly no errors Quote Link to comment Share on other sites More sharing options...
Question
Chickz
this npc will allow u to warp if you own certain castle e.g kriemhild/prtg_cas01...
if the guild owner change and u still in that room e.g quiz_02 than u will be kick from that room
all guild member of castle owner can enter this room...
i try to make it but it's too difficult for me >.<
Link to comment
Share on other sites
3 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.