Author |
Message |
Topic: #IF with =~ pattern expression |
jofu
Replies: 3
Views: 3848
|
Forum: zMUD General Discussion Posted: Mon Mar 22, 2004 9:55 pm Subject: #IF with =~ pattern expression |
quote:Originally posted by Larkin
If your trigger pattern is basically (*), try using quotes around your %1 to compare the entire string correctly.
#TRIGGER {(*)} {#IF ("%1" =~ "Apprentice") {do s ... |
Topic: #IF with =~ pattern expression |
jofu
Replies: 3
Views: 3848
|
Forum: zMUD General Discussion Posted: Mon Mar 22, 2004 6:54 am Subject: #IF with =~ pattern expression |
If I have a %1 captured from a trigger which could look like this Apprentice Timmy, the great But it could also be virtually anything else. And I want a #IF to evaluate to true if Apprentice is in it, ... |
Topic: something like perl split()? |
jofu
Replies: 1
Views: 2586
|
Forum: zMUD General Discussion Posted: Tue Feb 24, 2004 5:39 am Subject: something like perl split()? |
is there anything that will allow me to split a string at a specific character into multiple slots in a stringlist? Say for example I have a string that looks like
this,that,other
is their a f ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Thu Feb 19, 2004 3:02 am Subject: Mapper and delays on speedwalking |
quote:Originally posted by Theragil
If I use the onroomenter alias, and I set the pause flag, and I have room titles stored for every room (which I don't for the vast majority -- since I never got au ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Wed Feb 18, 2004 10:06 pm Subject: Mapper and delays on speedwalking |
quote:Originally posted by Cyrn
Try checking the 'pause while speedwalking' box in all the rooms, then use this
#alias onroomenter {#if %inwalk() {#alarm {+3} {#ok}} {#ok}}
Unfortunately I can' ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Wed Feb 18, 2004 9:52 pm Subject: Mapper and delays on speedwalking |
quote:Originally posted by Theragil
I'm having the same problem in Aetolia (I assume all the Iron Realms MUDs will run into this)
Hehe, I'm in Achaea, and they actually took steps toward making ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Wed Feb 18, 2004 5:24 am Subject: Mapper and delays on speedwalking |
quote:Originally posted by Zugg
The Sendline delay only effect speedwalking and the actual #SEND command. It won't delay everything sent to the MUD.
And as Rainchild mentioned, try setting the Ma ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Wed Feb 18, 2004 4:28 am Subject: Mapper and delays on speedwalking |
quote:Originally posted by Rainchild
Did you try 'Slow' speedwalk mode? And/or changing the maximum number of steps in 'Safe' mode? (under edit->map properties, speedwalking tab).
Also under ... |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Tue Feb 17, 2004 11:53 pm Subject: Mapper and delays on speedwalking |
the mud I'm on does not allow continuous moves without a delay between them. I need a small delay between every move speedwalking makes |
Topic: Mapper and delays on speedwalking |
jofu
Replies: 21
Views: 21363
|
Forum: zMUD General Discussion Posted: Tue Feb 17, 2004 10:42 pm Subject: Mapper and delays on speedwalking |
Well, I updated to 7.01 today and now my delays don't seem to be working.
I was using
#ALIAS onroomenter {#PAUSE;#ALARM {+3} {#STEP}}
as it was mentioned in a post I read when I first started us ... |
Topic: sleep or something like it? |
jofu
Replies: 2
Views: 4068
|
Forum: zMUD General Discussion Posted: Tue Feb 10, 2004 5:53 am Subject: sleep or something like it? |
Is there anything like sleep that can make a script wait a little before it executes the next line? |
Topic: stop a loop? |
jofu
Replies: 1
Views: 2606
|
Forum: zMUD General Discussion Posted: Mon Feb 09, 2004 10:10 pm Subject: stop a loop? |
I have a loop with a nested if statement, when the if evaluates to true, I want the loop to stop processing...how can I do this? |
|