Hello guys, I make a script which is a Stylist but it is not yet finished. Can anyone finish this for me? Here is my script. Thanks
prontera,150,150,5 script Stylist 878,{
set .@n$,"[Stylist]";
query_sql("SELECT `char_id`,`name`,`hair`,`hair_color`,`clothes_color` FROM `char` WHERE `char_id` = '"+getcharid(0)+"'",@charid$,@name$,@hair$,@haircolor$,@clothcolor$);
mes .@n$;
mes "You are currently wearing:";
mes "Cloth Color: "+@clothcolor$+"";
mes "Hair Color: "+@haircolor$+"";
mes "Hair Style: "+@hair$+"";
next;
mes .@n$;
mes "What would you like to change?";
next;
switch(select("Clothes Color:Hair Color:Hair Style:Saved Dyes:Randomize")) {
case 1:
clothcolor:
mes .@n$;
mes "Choose a style to begin from between 0 to 699.";
input (.@clothcolor);
switch(select("Next:Previous:I Like it!:[Save Clothes]")) {
case 1: // will show the next clothcolor
case 2: // will show the previous clothcolor
case 3:
next;
mes .@n$;
mes "Perfect ! I am glad you found a style that fits you!";
close;
case 4:
switch(select("Set 1:Set 2:Set3")) {
case 1: // will save the clothcolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto clothcolor;
case 2: // will save the clothcolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto clothcolor;
case 3: // will save the clothcolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto clothcolor;
}
}
case 2:
haircolor:
mes .@n$;
mes "Choose a style to begin from between 0 to 126.";
input (.@haircolor);
switch(select("Next:Previous:I Like it!:[Save Clothes]")) {
case 1: // will show the next hair color
case 2: // will show the previous hair color
case 3:
next;
mes .@n$;
mes "Perfect ! I am glad you found a style that fits you!";
close;
case 4:
switch(select("Set 1:Set 2:Set3")) {
case 1: // will save the haircolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto haircolor;
case 2: // will save the haircolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto haircolor;
case 3: // will save the haircolor that you want to this set
mes .@n$;
mes "Your style has been saved.";
goto haircolor;
}
}
case 3:
mes .@n$;
mes "Choose a style to begin from between 0 to 27.";
input (.@hairstyle);
switch(select("Next:Previous:I Like it!")) {
case 1: // will show the next hairstyle
case 2: // will show the previous hairstyle
case 3:
next;
mes .@n$;
mes "Perfect ! I am glad you found a style that fits you!";
close;
}
case 4:
mes .@n$;
mes "Here are the color sets you saved:";
mes "Which one do you want to wear ?";
mes Slot 1 : <clothcolor>,<haircolor>";
mes Slot 2 : <clothcolor>,<haircolor>";
mes Slot 3 : <clothcolor>,<haircolor>";
next;
switch(select("Set 1:Set2:Set3")) {
case 1:
// it will automatically wear the cloth color and hair color that you have saved before in this set.
mes .@n$;
mes "Here is the set you like! See you later.";
close;
case 2:
// it will automatically wear the cloth color and hair color that you have saved before in this set.
mes .@n$;
mes "Here is the set you like! See you later.";
close;
case 3:
// it will automatically wear the cloth color and hair color that you have saved before in this set.
mes .@n$;
mes "Here is the set you like! See you later.";
close;
}
case 5:
mes .@n$;
mes "What would you like to change?";
next;
switch(select("Next:I Like It!")) {
case 1:
// it will going to give you a random cloth color, hair color and hair style.
case 2:
next;
mes .@n$;
mes "Perfect ! I am glad you found a style that fits you!";
close;
}
}
}
Question
Reborn
Hello guys, I make a script which is a Stylist but it is not yet finished. Can anyone finish this for me? Here is my script. Thanks
Link to comment
Share on other sites
5 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.