cadz Posted November 29, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Share Posted November 29, 2012 hi there what is the code that player have party cannot enter in a certain event. thanks in advance this is the script if( Class == Job_Novice ){ mes "Novice cant join."; close; } mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; Quote Link to comment Share on other sites More sharing options...
KeyWorld Posted November 29, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Share Posted November 29, 2012 getcharid(1) return the party_id of the character. So basically: if ( getcharid(1) ) mes "You have a party !"; else mes "You don't have a party !"; close; Quote Link to comment Share on other sites More sharing options...
Ryokem Posted November 29, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 205 Reputation: 19 Joined: 10/12/12 Last Seen: November 7, 2013 Share Posted November 29, 2012 Also, be sure they don't create a party after joining the event, unless you want them to do it. Quote Link to comment Share on other sites More sharing options...
cadz Posted November 29, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Author Share Posted November 29, 2012 (edited) i just want those players have party cannot enter. they are abusing the LMS if( Class == Job_Novice ){ mes "Novice cant join."; close; } if ( getcharid(1) ) mes "You have a party you cannot enter"; close; mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; is this correct? Edited November 29, 2012 by cadz Quote Link to comment Share on other sites More sharing options...
KeyWorld Posted November 29, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Share Posted November 29, 2012 i just want those players have party cannot enter. they are abusing the LMS if( Class == Job_Novice ){ mes "Novice cant join."; close; } if ( getcharid(1) ) mes "You have a party you cannot enter"; close; mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; is this correct? It's missing bracket. if( Class == Job_Novice ){ mes "Novice cant join."; close; } if ( getcharid(1) ) { mes "You have a party you cannot enter"; close; } mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; Quote Link to comment Share on other sites More sharing options...
cadz Posted November 29, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Author Share Posted November 29, 2012 okay thanks i'll be back if its not working thanks a lot... working now topic close thanks a lot. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 29, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 29, 2012 lol there's pvp_noparty and pvp_noguild mapflag no need to do such checks @Ryokem there's also partylock mapflag, but I think no need to use here Quote Link to comment Share on other sites More sharing options...
Ryokem Posted November 29, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 205 Reputation: 19 Joined: 10/12/12 Last Seen: November 7, 2013 Share Posted November 29, 2012 Yeah, it was just a friendly reminder ^^ Quote Link to comment Share on other sites More sharing options...
Question
cadz
hi there what is the code that player have party cannot enter in a certain event. thanks in advance
this is the script
Link to comment
Share on other sites
7 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.