Terrorsoul Posted January 22, 2014 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
AnnieRuru Posted January 23, 2014 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
Terrorsoul Posted January 23, 2014 Author 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
AnnieRuru Posted January 23, 2014 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
Terrorsoul Posted January 23, 2014 Author Posted January 23, 2014 Ty annie, only in google chrome not working, IE and Firefox perfect Quote
Question
Terrorsoul
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.