View Single Post
  #1  
Old 10-23-2005, 06:45 AM
Mykel Mykel is offline
:o
Mykel's Avatar
Join Date: May 2002
Location: Canton, Ohio.
Posts: 5,526
Mykel has a spectacular aura about
Send a message via AIM to Mykel Send a message via MSN to Mykel
Scripting Guidance

Okay, so I've recently taken up an interest in scripting. So far all I am doing is looking at scripts and trying to understand them, and then editing them in some other way to try new things. I could use your help some. If someone could please explain the following script in the most basic of terms possible, it'd be greatly appreciated.

NPC Code:
if (playerchats && strequals(#a,Mykel)) {
if (startswith(/skin,#c)) {
setcharprop #C0,#T(#e(6,-1,#c));
}
}


I understand the part about it having to be my account, and it starting with /skin and then the color, but I don't understand how the
NPC Code:
setcharprop #C0,#T(#e(6,-1,#c));

makes it all work. Thank you for your help.
__________________
(Married to Skyld)

Last edited by Mykel; 10-23-2005 at 06:57 AM..
Reply With Quote