Jump to content
  • 0
Sign in to follow this  
JoyRo

Stylist

Question

Hello,

 

Can any help me change this Stylist script.
 

//===== Hercules Script ======================================//= Stylist//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.1//===== Description: =========================================//= Changes your hair style, hair color, and cloth color.//===== Additional Comments: =================================//= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]//============================================================prontera,147,159,1	script	Stylist#custom_stylist	2_M_DYEINGER,{	setarray .@styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color");	setarray .@Look[1],7,1,6;	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;		}	}}

I want that novices/ninja's/Kagerou canot change the cloth collors.
Can any 1 help me with that.
 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

yeah, I also got client error when using oboro job

prontera,165,176,1	script	Stylist	HIDDEN_NPC,{	.@choose = select( "Hair style", "Hair color", "Cloth color" );	if ( .@choose == 3 && ( Class == Job_Novice || BaseClass == Job_Ninja ) ) {		mes "You are disallow to change cloth color";		close;	}	.@part = .look[.@choose];	.@i = .@revert = getlook( .@part );	while ( true ) {		setlook .@part, .@i;		dispbottom "This is style #"+ .@i +".";		.@next = ( .@i == .maxstyles[.@part] )? 0 : .@i+1;		.@previous = ( .@i == 0 )? .maxstyles[.@part] : .@i-1;		switch ( select( " ~ Next (^0055FF"+ .@next +"^000000)", " ~ Previous (^0055FF"+ .@previous +"^000000)", " ~ Jump to...", " ~ Revert to original (^0055FF"+ .@revert +"^000000)" ) ) {			case 1: .@i = .@next; break;			case 2: .@i = .@previous; break;			case 3:				dispbottom "Choose a style between 0 - "+ .maxstyles[.@part] +".";				input .@i, 0, .maxstyles[.@part];				break;			case 4: .@i = .@revert;		}	}	end;OnInit:	.maxstyles[LOOK_HAIR] = getbattleflag("max_hair_style");	.maxstyles[LOOK_HAIR_COLOR] = getbattleflag("max_hair_color");	.maxstyles[LOOK_CLOTHES_COLOR] = getbattleflag("max_cloth_color");	setarray .look[1], LOOK_HAIR, LOOK_HAIR_COLOR, LOOK_CLOTHES_COLOR;	end;}
Edited by AnnieRuru

Share this post


Link to post
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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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