[Release] Command Hairstyle

09/12/2008 18:53 konkizta#1
Code:
if (Splitter[0] == "/hair")
                                            {
                                                ushort mid = ushort.Parse(Splitter[1]);
                                                MyChar.Hair = mid;
                                                
                                                SendPacket(General.MyPackets.Vital(MyChar.UID, 27, ulong.Parse(MyChar.Hair.ToString())));
                                                World.UpdateSpawn(MyChar);
                                            }
............ ↓ Color 3=black, 4 white, 5 red, 6 yellow, 7 green, 8 blue, 9 purple
//- /hair 432-433-434-435
Color
09/12/2008 19:02 Mouse>Pro#2
is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair:p
09/12/2008 19:06 glupkotrup#3
@konkizta I'll try this one... But anyways nice work ;)
@Mouse When while you are in bi and want to change a hairstyle it will be helpful xD
09/12/2008 19:08 Ultimatum#4
lol? I think this is more usefull since you lot are using lotf

if (Splitter[0] == "/goto")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Chaar = (Character)DE.Value;
if (Splitter[1] == Chaar.Name)
{
MyChar.Teleport(Chaar.LocMap, Chaar.LocX, Chaar.LocY);
}
}
}
09/12/2008 19:08 konkizta#5
Quote:
Originally Posted by Mouse>Pro View Post
is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair:p
Thank you for your comment :handsdown: ¬ ¬
09/12/2008 19:11 konkizta#6
Quote:
Originally Posted by Ultimatum View Post
lol? I think this is more usefull since you lot are using lotf

if (Splitter[0] == "/goto")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Chaar = (Character)DE.Value;
if (Splitter[1] == Chaar.Name)
{
MyChar.Teleport(Chaar.LocMap, Chaar.LocX, Chaar.LocY);
}
}
}

Does that have to do with it?
09/12/2008 19:13 Ultimatum#7
Mouse Says: is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair

No npc to telelport you to a person XD
09/12/2008 19:21 Mouse>Pro#8
ok sorry people:p its usefull:p
09/12/2008 19:43 glupkotrup#9
Haha nice :handsdown:
09/12/2008 22:21 taguro#10
Thanks for posting this command; although, I have to agree with Mouse... there isnt really a point to this command... it'll just end up using extra memory, which as we all know, isnt a good idea. Although, if you find it useful, by all means, use it. Thanks given for the contribution.