Dev j Posted November 29, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.02 Content Count: 80 Reputation: 1 Joined: 06/22/23 Last Seen: July 16, 2024 Share Posted November 29, 2023 Hello can anyone help me how can i make a Colored Name NPC like Stylist how to make this script New script commands: set_color_nick(color group id); get_color_nick(); Quote Link to comment Share on other sites More sharing options...
0 Pokye Posted November 29, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 57 Reputation: 14 Joined: 08/22/22 Last Seen: Yesterday at 10:49 AM Share Posted November 29, 2023 This name color mod belongs to Functor, he sells it, talk to him. Quote Link to comment Share on other sites More sharing options...
0 Nyaniverse Posted November 29, 2023 Group: Members Topic Count: 13 Topics Per Day: 0.02 Content Count: 51 Reputation: 35 Joined: 09/09/23 Last Seen: May 7 Share Posted November 29, 2023 8 hours ago, Dev j said: Hello can anyone help me how can i make a Colored Name NPC like Stylist how to make this script New script commands: set_color_nick(color group id); get_color_nick(); I'll throw you treat, it's up to you how to figure out how to get the colors and set the colors. prontera,155,186,5 script Fashionista#name 845,{ .@current = get_color_nick(); setarray .@colors$,"C8B928","177ABD","F35BE6","D7ECB2","AE8B29" ,"FBF79A","73558C","EB57B8","25B7EF","442BFB" ,"D6E2F9","D7FE28","6A98B1","A764E0","14D5D4"; for(.@i = 0; .@i < getarraysize(.@colors$); .@i++) .@menu$ += "^"+.@colors$[.@i]+""+strcharinfo(0)+"^000000:"; .@select = select(.@menu$) - 1; .@color = .@select + 1; if(countitem(58503) < 1){ message strcharinfo(0),"You do not have "+getitemname(58503)+"!"; end; } menu "Buy this ^"+.@colors$[.@select]+"color?",-; if(.@current == .@color){ message strcharinfo(0),"This is your current name color"; end; } delitem 58503,1; set_color_nick(.@color); message strcharinfo(0),"Enjoy your new color!"; end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Dev j Posted December 2, 2023 Group: Members Topic Count: 17 Topics Per Day: 0.02 Content Count: 80 Reputation: 1 Joined: 06/22/23 Last Seen: July 16, 2024 Author Share Posted December 2, 2023 On 11/30/2023 at 4:42 AM, Nyaniverse said: I'll throw you treat, it's up to you how to figure out how to get the colors and set the colors. prontera,155,186,5 script Fashionista#name 845,{ .@current = get_color_nick(); setarray .@colors$,"C8B928","177ABD","F35BE6","D7ECB2","AE8B29" ,"FBF79A","73558C","EB57B8","25B7EF","442BFB" ,"D6E2F9","D7FE28","6A98B1","A764E0","14D5D4"; for(.@i = 0; .@i < getarraysize(.@colors$); .@i++) .@menu$ += "^"+.@colors$[.@i]+""+strcharinfo(0)+"^000000:"; .@select = select(.@menu$) - 1; .@color = .@select + 1; if(countitem(58503) < 1){ message strcharinfo(0),"You do not have "+getitemname(58503)+"!"; end; } menu "Buy this ^"+.@colors$[.@select]+"color?",-; if(.@current == .@color){ message strcharinfo(0),"This is your current name color"; end; } delitem 58503,1; set_color_nick(.@color); message strcharinfo(0),"Enjoy your new color!"; end; } Thanks ill try this ! Quote Link to comment Share on other sites More sharing options...
0 Sallycantdance Posted December 3, 2023 Group: Members Topic Count: 235 Topics Per Day: 0.14 Content Count: 823 Reputation: 12 Joined: 12/04/20 Last Seen: 1 hour ago Share Posted December 3, 2023 (edited) On 11/30/2023 at 4:42 AM, Nyaniverse said: I'll throw you treat, it's up to you how to figure out how to get the colors and set the colors. prontera,155,186,5 script Fashionista#name 845,{ .@current = get_color_nick(); setarray .@colors$,"C8B928","177ABD","F35BE6","D7ECB2","AE8B29" ,"FBF79A","73558C","EB57B8","25B7EF","442BFB" ,"D6E2F9","D7FE28","6A98B1","A764E0","14D5D4"; for(.@i = 0; .@i < getarraysize(.@colors$); .@i++) .@menu$ += "^"+.@colors$[.@i]+""+strcharinfo(0)+"^000000:"; .@select = select(.@menu$) - 1; .@color = .@select + 1; if(countitem(58503) < 1){ message strcharinfo(0),"You do not have "+getitemname(58503)+"!"; end; } menu "Buy this ^"+.@colors$[.@select]+"color?",-; if(.@current == .@color){ message strcharinfo(0),"This is your current name color"; end; } delitem 58503,1; set_color_nick(.@color); message strcharinfo(0),"Enjoy your new color!"; end; } will try this too ty Edited December 3, 2023 by GM Winter Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted January 10, 2024 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1305 Reputation: 174 Joined: 06/12/12 Last Seen: 4 hours ago Share Posted January 10, 2024 On 11/30/2023 at 3:42 AM, Nyaniverse said: I'll throw you treat, it's up to you how to figure out how to get the colors and set the colors. prontera,155,186,5 script Fashionista#name 845,{ .@current = get_color_nick(); setarray .@colors$,"C8B928","177ABD","F35BE6","D7ECB2","AE8B29" ,"FBF79A","73558C","EB57B8","25B7EF","442BFB" ,"D6E2F9","D7FE28","6A98B1","A764E0","14D5D4"; for(.@i = 0; .@i < getarraysize(.@colors$); .@i++) .@menu$ += "^"+.@colors$[.@i]+""+strcharinfo(0)+"^000000:"; .@select = select(.@menu$) - 1; .@color = .@select + 1; if(countitem(58503) < 1){ message strcharinfo(0),"You do not have "+getitemname(58503)+"!"; end; } menu "Buy this ^"+.@colors$[.@select]+"color?",-; if(.@current == .@color){ message strcharinfo(0),"This is your current name color"; end; } delitem 58503,1; set_color_nick(.@color); message strcharinfo(0),"Enjoy your new color!"; end; } hi, i've got this error. Quote Link to comment Share on other sites More sharing options...
0 Nyaniverse Posted January 11, 2024 Group: Members Topic Count: 13 Topics Per Day: 0.02 Content Count: 51 Reputation: 35 Joined: 09/09/23 Last Seen: May 7 Share Posted January 11, 2024 20 hours ago, hendra814 said: hi, i've got this error. Won't work if you don't have Gepard, nor it's color nick addon. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted January 11, 2024 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1305 Reputation: 174 Joined: 06/12/12 Last Seen: 4 hours ago Share Posted January 11, 2024 1 hour ago, Nyaniverse said: Won't work if you don't have Gepard, nor it's color nick addon. Thanks for the confirmation. Quote Link to comment Share on other sites More sharing options...
Question
Dev j
Hello can anyone help me how can i make a Colored Name NPC like Stylist
how to make this script
New script commands:
set_color_nick(color group id);
get_color_nick();
Link to comment
Share on other sites
7 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.