Jump to content
shan

Party Warper to Dungeon

Recommended Posts

prontera,x,y,dir<tab>Dungeon Warper</tab>46,{

set [email protected], getcharid(1);

getpartymember([email protected]);

if([email protected] > 5 && [email protected] < 3) close;

warpparty "guild_dun03",0,0,[email protected];

}

Link to comment
Share on other sites

if([email protected] > 5 && [email protected] < 3) close;

should be

if([email protected] > 5 || [email protected] < 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;
}

Link to comment
Share on other sites

-Thank you guys ill going to try this scripts /kis

please correct me if im wrong... :(

prontera,146,167,4 Dungeon Warper 46,{
if( !getcharid(1) ){
  mes "You need party.";
  close;
}
set [email protected], getcharid(1);
getpartymember([email protected]);
if([email protected] > 3 || [email protected] < 2) close;
warpparty "guild_dun03",0,0,[email protected];
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.