Author |
Message |
Topic: adding triggers from within aliases... |
tobei
Replies: 4
Views: 944
|
Forum: zMUD General Discussion Posted: Sat Apr 10, 2004 8:10 am Subject: adding triggers from within aliases... |
Here is what I have right now...
#ALIAS qtsetup {#VARIABLE QT_Trig {%1};#VARIABLE QT_Action {%2}}
#ALIAS qtadd {#TRIGGER {<@QT_Trig>} {#SUBSTITUTE {%format( "&-31s", @QT_Trig)" "@QT_Action}} { ... |
Topic: adding triggers from within aliases... |
tobei
Replies: 4
Views: 944
|
Forum: zMUD General Discussion Posted: Sat Apr 10, 2004 8:01 am Subject: adding triggers from within aliases... |
#TRIGGER {You are here.} {#SUBSTITUTE %format( "&-32s", <@QT_Trig>)<@QT_Action>}} {QT}
is the output
for some reason its not expanding the variables when its performing the #TRIGGER... ... |
Topic: adding triggers from within aliases... |
tobei
Replies: 4
Views: 944
|
Forum: zMUD General Discussion Posted: Sat Apr 10, 2004 7:46 am Subject: adding triggers from within aliases... |
Here is what i'm trying to do...
I type in qtsetup {You are here.} {Run away.} it does:
#var QT_Trig {%1}
#var QT_Action {%2}
I type in qtadd, it does:
#TRIGGER {<@QT_Trig>} {#SUBSTITUT ... |
Topic: #WAIT command problems... |
tobei
Replies: 5
Views: 1512
|
Forum: zMUD General Discussion Posted: Tue Apr 06, 2004 9:39 pm Subject: #WAIT command problems... |
yea i don't understand it, #WAIT seems to be the only thing that doesn't work... I've checked and rechecked the preferences and settings, but nothing explains why... |
Topic: #WAIT command problems... |
tobei
Replies: 5
Views: 1512
|
Forum: zMUD General Discussion Posted: Tue Apr 06, 2004 6:06 pm Subject: #WAIT command problems... |
prime example:
say test;#WAIT 99999999999999;say test
this should lag indefinitely... but... i get:
You say 'test'.
You say 'test'.
instantly.
|
Topic: #WAIT command problems... |
tobei
Replies: 5
Views: 1512
|
Forum: zMUD General Discussion Posted: Tue Apr 06, 2004 6:05 pm Subject: #WAIT command problems... |
No, i'm saying that #WAIT <number> no matter how big the number doesn't wait. I do call this alias from the command line, its not called upon by an triggers. I'm currently using #ALARM +x in ... |
Topic: Triggering for patterns that starts with * |
tobei
Replies: 5
Views: 1249
|
Forum: zMUD General Discussion Posted: Tue Apr 06, 2004 1:20 pm Subject: Triggering for patterns that starts with * |
#TRIGGER {^* (%w) (%d)~+(%d) (%w) (%d)~/(%d) (%d)~/(%d) (%d)~/(%d) (%d)} {#var Leader %1}
or
#TRIGGER {^* &Leader %d~+%d &LeaderClas %d~/%d %d~/%d %d~/%d %d} {#NOOP}
that would prolly do it too...
... |
Topic: #WAIT command problems... |
tobei
Replies: 5
Views: 1512
|
Forum: zMUD General Discussion Posted: Tue Apr 06, 2004 1:01 pm Subject: #WAIT command problems... |
I have an alias that checks certain variables, then steps through commands depending on the settings of those variables... After each command is issued it issues a #WAIT %trim(%1)
It used to work ... |
Topic: Capturing multiple lines into a variable. |
tobei
Replies: 2
Views: 869
|
Forum: zMUD General Discussion Posted: Fri Mar 19, 2004 8:05 am Subject: Capturing multiple lines into a variable. |
I'm playing on Godwars: Saint from Shadows...
I'm attempting to create a help database, for the purpose of displaying all the help files locally once its completed.
My dillemma...
---- SAMPLE ... |
|