 |
dime Novice
Joined: 15 Dec 2002 Posts: 35
|
Posted: Fri Jun 20, 2003 5:37 pm
%1- |
i wanted an alias to add whatever message i wanted to a class of triggers that set the tick timer...
i could have sworn that i read somewhere before that %1- would add everything?
as it is now, it only makes a trigger for %1 and a - literally behind it.. heh
#alias addtick {#if (%1) {#trigger {%1-} {#ts 65} tick} {#say Add Tick Message?}} |
|
|
 |
Lalaynya Wanderer
Joined: 23 Aug 2002 Posts: 96
|
Posted: Fri Jun 20, 2003 5:44 pm |
*CLUB*
%-1 |
|
|
 |
dime Novice
Joined: 15 Dec 2002 Posts: 35
|
Posted: Fri Jun 20, 2003 5:48 pm |
aha! my thanks
for some reason, it doesn't seem to work for the message
[addtick Auto-save complete.]
Add Tick Message?
this isn't as much a problem... i was just curious if in the future, i should use a different/better syntax to avoid things like this.. |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jun 20, 2003 6:18 pm |
Try:
#IF (!%null("%-1")) {#TRIGGER ...} {#SAY ...}
Kjata |
|
|
 |
|
|