shan Posted August 26, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 07/22/12 Last Seen: November 12, 2012 Share Posted August 26, 2012 hi can you make me a script of npc to 3-5 players to Guild Dungeon please... Help me.. Quote Link to comment Share on other sites More sharing options...
Euro Posted August 27, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 26 Reputation: 10 Joined: 01/01/12 Last Seen: October 12, 2023 Share Posted August 27, 2012 prontera,x,y,dir<tab>Dungeon Warper</tab>46,{ set .@PID, getcharid(1); getpartymember(.@PID); if($@partymembercount > 5 && $@partymembercount < 3) close; warpparty "guild_dun03",0,0,.@PID; } Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 27, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 27, 2012 if($@partymembercount > 5 && $@partymembercount < 3) close; should be if($@partymembercount > 5 || $@partymembercount < 3) close; you cant have both condition to appear at the same time.... how you gonna make a party that have more than 5 member AND less than 3 member at the same time ? and it would be better to add a check for party existance... if( !getcharid(1) ){ mes "You need party."; close; } Quote Link to comment Share on other sites More sharing options...
shan Posted August 27, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 07/22/12 Last Seen: November 12, 2012 Author Share Posted August 27, 2012 -Thank you guys ill going to try this scripts please correct me if im wrong... prontera,146,167,4 Dungeon Warper 46,{ if( !getcharid(1) ){ mes "You need party."; close; } set .@PID, getcharid(1); getpartymember(.@PID); if($@partymembercount > 3 || $@partymembercount < 2) close; warpparty "guild_dun03",0,0,.@PID; } Quote Link to comment Share on other sites More sharing options...
Euro Posted August 27, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 26 Reputation: 10 Joined: 01/01/12 Last Seen: October 12, 2023 Share Posted August 27, 2012 (edited) Lol. I didn't see it. hahaha Edited August 27, 2012 by Euro Quote Link to comment Share on other sites More sharing options...
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.