Author |
Message |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Tue Oct 29, 2002 2:45 pm Subject: alias trouble - unwanted infinite loops |
Ah, of course...
Thanks, you're a peach! (or any other fruit you find it pleasant to compare yourself with) |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Mon Oct 28, 2002 6:30 pm Subject: alias trouble - unwanted infinite loops |
Ok, now the circle is soon complete :)
This works fine, only problem is that I sometimes don't want to give a specific movetype and rather have the output be only 'west'.
Using #alias w {@type @dir ... |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Mon Oct 28, 2002 11:38 am Subject: alias trouble - unwanted infinite loops |
Thanks for your help :)
I'm afraid I couldn't get the #send command to work though. As far as I can understand it merely sends whatever text is in a file to the mud. I tried using it with variables a ... |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Fri Oct 25, 2002 8:56 pm Subject: alias trouble - unwanted infinite loops |
I'd like to be able to change both walking mode and which direction I'm walking. In other words I don't don't always want to walk westward even though I activate the w-alias... So I need the direction ... |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Fri Oct 25, 2002 7:56 pm Subject: alias trouble - unwanted infinite loops |
Thanks, that works :)
Unfortunately my problems are not entirely over.
I'm trying to make a set of walking-aliases. On my mud one can walk in different ways, so I need to be able to issue different ... |
Topic: alias trouble - unwanted infinite loops |
fossie
Replies: 11
Views: 7964
|
Forum: zMUD General Discussion Posted: Fri Oct 25, 2002 5:30 pm Subject: alias trouble - unwanted infinite loops |
Hi
Is there any way of sending a command to the mud when the command is also an alias in zmud?
E.g:
#alias w w
When I hit w I want it to send w to the mud, not start looping the alias. I tri ... |
Topic: alarm triggers |
fossie
Replies: 22
Views: 16621
|
Forum: zMUD General Discussion Posted: Thu Aug 15, 2002 9:28 am Subject: alarm triggers |
Thanks, Kjata...
but I won't be able to activate the check until I recieve a line from the mud, and that would not be frequent enough. I'll let you know if I come up with an idea though :)
Thanks ... |
Topic: alarm triggers |
fossie
Replies: 22
Views: 16621
|
Forum: zMUD General Discussion Posted: Wed Aug 14, 2002 1:09 pm Subject: alarm triggers |
Well, on my mud timing can be a great advantage. Casting a spell at exactly the right time will make it go off instantly instead of waiting a second between starting and finishing the spell. I can get ... |
Topic: alarm triggers |
fossie
Replies: 22
Views: 16621
|
Forum: zMUD General Discussion Posted: Wed Aug 14, 2002 8:32 am Subject: alarm triggers |
Well, it appears that I can use floatingpoint values in alarms in my version of Z-mud too (4.56)... I use
#ALARM *0.5 {#ad count 1}
and it seems to work very well.
The problem is that I want i ... |
Topic: alarm triggers |
fossie
Replies: 22
Views: 16621
|
Forum: zMUD General Discussion Posted: Tue Aug 13, 2002 11:25 am Subject: alarm triggers |
quote:
What you want is an alarm that fires every second and you manually count to 15:
#TRIGGER {something happens} {#VAR count 0;#T+ timerAlarm}
#ALARM "timerAlarm" {#ADD count 1;#IF (@c ... |
Topic: %pos(a,b) |
fossie
Replies: 3
Views: 3528
|
Forum: zMUD General Discussion Posted: Mon Aug 12, 2002 8:46 am Subject: %pos(a,b) |
Thanks for replying :)
What I'm trying to do is not to use *'s in my triggers to avoid the horrible slowdown effect. Instead I trigger just the plain text, capture the text in a variable using the ... |
Topic: %pos(a,b) |
fossie
Replies: 3
Views: 3528
|
Forum: zMUD General Discussion Posted: Fri Aug 09, 2002 12:43 pm Subject: %pos(a,b) |
I'm trying to recognize "something" in the last recieved line. The problem is that sometimes I recieve "something else" from the mud, which will also match my expression, which is
... |
|