Author |
Message |
Topic: Old triggers in Zmud 7.03+ |
Vittorio
Replies: 6
Views: 7432
|
Forum: zMUD General Discussion Posted: Tue Mar 16, 2004 4:32 am Subject: Old triggers in Zmud 7.03+ |
erm, when you say use Perl regular expressions.. that means using #REGEX instead of #TRIGGER?
Would conditions still work with #REGEX? |
Topic: stringlist question |
Vittorio
Replies: 4
Views: 3934
|
Forum: zMUD General Discussion Posted: Fri Jan 23, 2004 8:28 am Subject: stringlist question |
I have a stringlist variable named @testvar containing several values (say, "1|2|3|4|5"). I tried to set one of the values using the following notation..
testvar.2=1
Not only does that not work, ... |
Topic: More questions about functions. |
Vittorio
Replies: 1
Views: 2759
|
Forum: zMUD General Discussion Posted: Fri Dec 12, 2003 5:42 pm Subject: More questions about functions. |
Strangeness. It doesnt quite behave as I expect it to.
I defined a function as follows:
#VAR test {%if( %1=~ "cat", %1, 0)} {_nodef}
Basically i'm trying to pattern match the letters "cat" fr ... |
Topic: Question about function |
Vittorio
Replies: 2
Views: 3273
|
Forum: zMUD General Discussion Posted: Fri Dec 12, 2003 7:11 am Subject: Question about function |
Would appreciate if anyone can help me with this problem. I wish to create a function variable that returns 1 or 0. It takes %line2 as a parameter; ie. @linecheck(%line2). What it does is match the li ... |
Topic: Effect of Echo Messages |
Vittorio
Replies: 1
Views: 2816
|
Forum: zMUD General Discussion Posted: Tue Dec 09, 2003 5:04 am Subject: Effect of Echo Messages |
What exactly is the effect of turning off the "Echo messages" option under the "Script Parser" page in Preferences?
I wish to turn it off because I use #c+ and #c- to capture messages to windows. W ... |
Topic: Which file to backup? |
Vittorio
Replies: 1
Views: 2787
|
Forum: zMUD General Discussion Posted: Mon Nov 24, 2003 9:50 am Subject: Which file to backup? |
I would like to make a backup of my layout and preferences, but I'm not sure which file I should copy. I know the aliases, triggers, etc. are all in the .mud file, but where are the layout and prefere ... |
Topic: Multiple Tells/Messages |
Vittorio
Replies: 3
Views: 5369
|
Forum: zMUD General Discussion Posted: Mon Nov 24, 2003 4:35 am Subject: Multiple Tells/Messages |
This doesn't take an infinite amount of names, but I reckon 10 should be enough.
#ALIAS btell {#pr msg "Enter a message";#fo %1|%2|%3|%4|%5|%6|%7|%8|%9|%10 {#if %i!="" {tell %i @msg} {#abort}}}
#V ... |
Topic: OR evaluation |
Vittorio
Replies: 7
Views: 5926
|
Forum: zMUD General Discussion Posted: Mon Nov 17, 2003 8:23 am Subject: OR evaluation |
Thanks. I asked because I was wondering if I should use nested IF statements to optimize the evaluation somewhat. Looks like I'll have to.. |
Topic: OR evaluation |
Vittorio
Replies: 7
Views: 5926
|
Forum: zMUD General Discussion Posted: Mon Nov 17, 2003 5:13 am Subject: OR evaluation |
I'm sure someone must have asked this question before, but I can't figure out what to search for.
When you have a condition with multiple ORs.. like #IF (cond1|cond2|cond3), does it stop evaluating ... |
Topic: Lag detection? |
Vittorio
Replies: 0
Views: 2325
|
Forum: zMUD General Discussion Posted: Wed Oct 22, 2003 3:28 pm Subject: Lag detection? |
Is there a variable that describes the amount of time elapsed since the last command received? Or alternatively, can anyone think of a way to capture this value into a variable I can use?
Thx.
- ... |
|