|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
Posted: Mon Mar 13, 2006 2:15 am
Any better way to do this Var code? |
Ok, for debugging purposes, there is a real time code check as you edit your triggers, aliases, variables, etc...
I have this one trigger:
Giant Stone Shield: 2 ticks
#trigger {Giant Stone Shield: 2 ticks} {#var GSSFlag { }}
Obviously, it will give this syntax error.
#var SancFireFlag { }
^ syntax error
It works but I hate seeing the syntax error at the bottom. What is the proper way? |
|
_________________ Thank you for everything, it's always appreciated. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Mar 13, 2006 5:05 am |
use double-quotes, or remove the whitespace.
#variable SancFireFlag " "
#variable SancFireFlag {}
If that's not what you were after, I honestly don't see any error at all that would even trip the syntax checker. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Mon Mar 13, 2006 5:17 am |
GSSFLAG = ""
|
|
|
|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
Posted: Mon Mar 13, 2006 4:32 pm |
Basically, what I'm trying to do is "blanking" out the variable. So That's basically the jist of it.
|
|
_________________ Thank you for everything, it's always appreciated. |
|
|
|
|
|