Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.