Im still an amateur programmer and such, but to help all my fellow noob programmers/script writers out there, ill share some knowledge that I have gained that makes my life easier.
This advice comes from my little bit of C knowledge and my MacroQuest knowledge.
Quotes belong around ANYTHING that contains a string! A string is nothing more than a series of text
"String" is a string
"69" is a string (In this example, DO NOT think of the number 69 as a number, it is simply the TEXT 69)
69 by itself without quotes is a NUMERICAL VALUE!
Generally, anytime you want to reference a string, such as a spell name, or a player name, it's going to need Quotes.
Whenever you want to reference an actual VALUE, or do any math, then you dont need quotes.
For example
Variable="69"+"69" doesnt work. Its like saying add "the" and "the"
Variable=69+69 In this case Variable will be assigned the value 138
Quotes are for text, no quotes are for values and math.
Hope this helps. Took me forever to figure it out, and I have the small bald spot on my head where I kept scratching to prove it!
Sky
