Terrorsoul Posted January 22, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 32 Reputation: 2 Joined: 06/09/12 Last Seen: January 17, 2018 Share Posted January 22, 2014 Hello again guys, i need this script, but i cant make job requirement for a party warper. Warper Party 5 users are needed to enter the party map Job requirement in party: 1 tank (pala) 3 melee or casters (Hight Wizards, Assassin Cross, Ninjas, Sniper, Lk ... etc) and 1 Hight Priest. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 23, 2014 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 January 23, 2014 (edited) http://rathena.org/board/topic/78560-party-checker-job/?p=179078 [paste=4uoqzic2dsf4] [paste=462knd46l7yv] Edited January 23, 2014 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Terrorsoul Posted January 23, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 32 Reputation: 2 Joined: 06/09/12 Last Seen: January 17, 2018 Author Share Posted January 23, 2014 (edited) Thx annie but i cant see this web: http://rathena.org/board/pastebin/4uoqzic2dsf4 :S EDIT: in google chrome not working. Edited January 23, 2014 by Terrorsoul Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 23, 2014 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 January 23, 2014 (edited) Thx annie but i cant see this web: http://rathena.org/board/pastebin/4uoqzic2dsf4 :Spost your bug here lolhttp://rathena.org/board/topic/91838-rathena-pastebin-bug/#entry241426 hmmm lol, how come you can't see any paste ? <deleted> EDIT: wait I think this script has a bug, *countstr script command doesn't count the same string twice yeah confirm prontera,156,188,5 script kjdfhkshfs 100,{ .@a$ = "#1#1#1#"; dispbottom countstr( .@a$, "#1#" ); // return 2 end; }EDIT2: use this prontera,156,188,5 script kjdfhkshfs 100,{ getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; .@origin = getcharid(3); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; .@online++; .@compare_job$ = .@compare_job$ +"#"+ class +"#"; } } attachrid .@origin; // dispbottom .@online + .@compare_job$; if ( .@online < 5 ) mes "your party needs at least 5 party member online"; else if ( !compare( .@compare_job$, "#"+ Job_Paladin +"#" ) ) mes "your party needs a Paladin in your party"; else if ( !compare( .@compare_job$, "#"+ Job_High_Priest +"#" ) ) mes "your party needs a High Priest in your party"; else if ( countstr( .@compare_job$, "#"+ Job_High_Wizard +"#" ) + countstr( .@compare_job$, "#"+ Job_Assassin_Cross +"#" ) + countstr( .@compare_job$, "#"+ Job_Ninja +"#" ) + countstr( .@compare_job$, "#"+ Job_Sniper +"#" ) + countstr( .@compare_job$, "#"+ Job_Lord_Knight +"#" ) < 3 ) mes "your party needs to have at least 3 Damage Dealer classes in your party"; else mes "you are free the go"; close; } Edited January 23, 2014 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Terrorsoul Posted January 23, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 32 Reputation: 2 Joined: 06/09/12 Last Seen: January 17, 2018 Author Share Posted January 23, 2014 Ty annie, only in google chrome not working, IE and Firefox perfect Quote Link to comment Share on other sites More sharing options...
Question
Terrorsoul
Link to comment
Share on other sites
4 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.