HD Scripts Posted November 3, 2014 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 [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray [email protected][1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set [email protected], select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); set [email protected], getlook([email protected][[email protected]]); set [email protected],1; while(1) { setlook [email protected][[email protected]], [email protected]; message strcharinfo(0),"This is style #"[email protected]+"."; set [email protected]$, " ~ Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:1)+"^000000): ~ Previous (^0055FF"+(([email protected]!=1)[email protected]:[email protected][[email protected]])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"[email protected]+"^000000)"; switch(select([email protected]$)) { case 1: set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 1); break; case 2: set [email protected], (([email protected] != 1) ? [email protected] : [email protected][[email protected]]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+"."; input [email protected],0,[email protected][[email protected]]; if ([email protected]) set [email protected], rand(1,[email protected][[email protected]]); break; case 4: set [email protected], [email protected]; setlook [email protected][[email protected]], [email protected]; break; } } } Quote Link to comment Share on other sites More sharing options...
Winz Posted November 3, 2014 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 [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray [email protected][1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set [email protected], select(" ~ Cloth color: ~ Hairstyle: ~ Hair color: ~ RanD0M!zE iT!"); if([email protected] == 4) { setarray [email protected][1], getlook([email protected][1]), getlook([email protected][2]), getlook([email protected][3]); while (1){ set [email protected]$, " ~ RanD0M!zE iT!: ~ Revert to original"; switch (select ([email protected]$)){ case 1: setlook LOOK_CLOTHES_COLOR, rand(0,[email protected][1]); setlook LOOK_HAIR, rand(0,[email protected][2]); setlook LOOK_HAIR_COLOR, rand(0,[email protected][3]); break; case 2: setlook LOOK_CLOTHES_COLOR, [email protected][1]; setlook LOOK_HAIR, [email protected][2]; setlook LOOK_HAIR_COLOR, [email protected][3]; break; } } } else set [email protected], getlook([email protected][[email protected]]); set [email protected],1; while(1) { setlook [email protected][[email protected]], [email protected]; message strcharinfo(0),"This is style #"[email protected]+"."; set [email protected]$, " ~ Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:1)+"^000000): ~ Previous (^0055FF"+(([email protected]!=1)[email protected]:[email protected][[email protected]])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"[email protected]+"^000000)"; switch(select([email protected]$)) { case 1: set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 1); break; case 2: set [email protected], (([email protected] != 1) ? [email protected] : [email protected][[email protected]]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+"."; input [email protected],0,[email protected][[email protected]]; if ([email protected]) set [email protected], rand(1,[email protected][[email protected]]); break; case 4: set [email protected], [email protected]; setlook [email protected][[email protected]], [email protected]; break; } } } 2 Quote Link to comment Share on other sites More sharing options...
HD Scripts Posted November 3, 2014 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 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 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...
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 [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray [email protected][1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set [email protected], select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); set [email protected], getlook([email protected][[email protected]]); set [email protected],1; while(1) { setlook [email protected][[email protected]], [email protected]; message strcharinfo(0),"This is style #"[email protected]+"."; set [email protected]$, " ~ Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:1)+"^000000): ~ Previous (^0055FF"+(([email protected]!=1)[email protected]:[email protected][[email protected]])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"[email protected]+"^000000)"; switch(select([email protected]$)) { case 1: set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 1); break; case 2: set [email protected], (([email protected] != 1) ? [email protected] : [email protected][[email protected]]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+"."; input [email protected],0,[email protected][[email protected]]; if ([email protected]) set [email protected], rand(1,[email protected][[email protected]]); break; case 4: set [email protected], [email protected]; setlook [email protected][[email protected]], [email protected]; break; } } }Link to comment
Share on other sites