HD Scripts Posted November 3, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 15 hours ago Share Posted November 3, 2014 Well, i need insert a option in this script, to randomic style, between cloths, hair style and hair color, randomically. Is possible? Script: //===== rAthena Script ======================================= //= Stylist //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Changes your hair style, hair color, and cloth color. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy] //============================================================ prontera,170,180,1 script Stylist#custom_stylist 122,{ setarray .@Styles[1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray .@Look[1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); set .@Revert, getlook(.@Look[.@s]); set .@Style,1; while(1) { setlook .@Look[.@s], .@Style; message strcharinfo(0),"This is style #"+.@Style+"."; set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)"; switch(select(.@menu$)) { case 1: set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1); break; case 2: set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+"."; input .@Style,0,.@Styles[.@s]; if (!.@Style) set .@Style, rand(1,.@Styles[.@s]); break; case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; } } } Quote Link to comment Share on other sites More sharing options...
Winz Posted November 3, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted November 3, 2014 it is possible. //===== rAthena Script ======================================= //= Stylist WITH RanD0M!zATi0N!!!ii!! //===== By: ================================================== //= Euphy modified by Winz //===== Current Version: ===================================== //= 1.1 MODIFIED //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Changes your hair style, hair color, and cloth color. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy] //= 1.1 MODIFIED - Added RanD0M!zATi0N!!!ii!! //============================================================ prontera,150,180,1 script Stylist#custom_stylist 122,{ setarray .@Styles[1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray .@Look[1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color: ~ RanD0M!zE iT!"); if(.@s == 4) { setarray .@LookBackup[1], getlook(.@Look[1]), getlook(.@Look[2]), getlook(.@Look[3]); while (1){ set .@menu$, " ~ RanD0M!zE iT!: ~ Revert to original"; switch (select (.@menu$)){ case 1: setlook LOOK_CLOTHES_COLOR, rand(0,.@Styles[1]); setlook LOOK_HAIR, rand(0,.@Styles[2]); setlook LOOK_HAIR_COLOR, rand(0,.@Styles[3]); break; case 2: setlook LOOK_CLOTHES_COLOR, .@LookBackup[1]; setlook LOOK_HAIR, .@LookBackup[2]; setlook LOOK_HAIR_COLOR, .@LookBackup[3]; break; } } } else set .@Revert, getlook(.@Look[.@s]); set .@Style,1; while(1) { setlook .@Look[.@s], .@Style; message strcharinfo(0),"This is style #"+.@Style+"."; set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)"; switch(select(.@menu$)) { case 1: set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1); break; case 2: set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+"."; input .@Style,0,.@Styles[.@s]; if (!.@Style) set .@Style, rand(1,.@Styles[.@s]); break; case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; } } } 2 Quote Link to comment Share on other sites More sharing options...
HD Scripts Posted November 3, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 15 hours ago Author Share Posted November 3, 2014 Oh thank's (: Reputed +1 Quote Link to comment Share on other sites More sharing options...
Talon Posted November 3, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 09/01/14 Last Seen: October 22, 2016 Share Posted November 3, 2014 I need this too, thank you so much Quote Link to comment Share on other sites More sharing options...
Winz Posted November 4, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted November 4, 2014 glad it helps.just to make sure, i think the 'reputed +1' you press is not the one that's reputation +1 button. <- the repute +1 button. thanks 1 Quote Link to comment Share on other sites More sharing options...
Question
HD Scripts
Well, i need insert a option in this script, to randomic style, between cloths, hair style and hair color, randomically.
Is possible?
Script:
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.