Author |
Message |
Topic: [Solved] Trigger Question |
Delphi03
Replies: 4
Views: 5689
|
Forum: CMUD General Discussion Posted: Sat Feb 12, 2011 9:25 pm Subject: [Solved] Trigger Question |
That works like a charm.
Thank you. |
Topic: [Solved] Trigger Question |
Delphi03
Replies: 4
Views: 5689
|
Forum: CMUD General Discussion Posted: Sat Feb 12, 2011 8:56 pm Subject: [Solved] Trigger Question |
The script can change from character to character.
Additionally, there are times I do not want automation and other times when I would prefer it.
I'm just looking for a way to avoid having to ma ... |
Topic: [Solved] Trigger Question |
Delphi03
Replies: 4
Views: 5689
|
Forum: CMUD General Discussion Posted: Sat Feb 12, 2011 6:39 pm Subject: [Solved] Trigger Question |
Is it possible to have a trigger "call" a macro in response to matching its pattern?
I did some looking through the site/forums as well as the help and didn't see any way explicitly called out othe ... |
Topic: [3.19-3.26] Trigger Infinite Loop |
Delphi03
Replies: 9
Views: 12425
|
Forum: CMUD Beta Forum Posted: Sun Sep 12, 2010 5:01 pm Subject: [3.19-3.26] Trigger Infinite Loop |
I disabled the "Trigger on Trigger" option.
I also disabled all other triggers.
The issue still occurs; both with the local-variable-ized version and the straight, nested-%replace() version, cau ... |
Topic: [3.19-3.26] Trigger Infinite Loop |
Delphi03
Replies: 9
Views: 12425
|
Forum: CMUD Beta Forum Posted: Sat Sep 11, 2010 9:15 pm Subject: [3.19-3.26] Trigger Infinite Loop |
Thanks for this; however, this suffers the same issue.
$line = %1
$replace_string = {"^B"|"^b"}
#forall $replace_string
{
#switch (%i = "^B&qu ... |
Topic: [3.19-3.26] Trigger Infinite Loop |
Delphi03
Replies: 9
Views: 12425
|
Forum: CMUD Beta Forum Posted: Sat Sep 11, 2010 3:17 am Subject: [3.19-3.26] Trigger Infinite Loop |
This issue still exists in 3.25.
Does anyone else have any other suggestions? |
Topic: [3.19-3.26] Trigger Infinite Loop |
Delphi03
Replies: 9
Views: 12425
|
Forum: CMUD Beta Forum Posted: Sat Jul 03, 2010 3:16 am Subject: [3.19-3.26] Trigger Infinite Loop |
I believe I tried using the before, but I imagine I simply mixed up the syntax.
Assuming that works, I'll be able to remove all of the standard ansi colors from that trigger, but I'd still need it ... |
Topic: [3.19-3.26] Trigger Infinite Loop |
Delphi03
Replies: 9
Views: 12425
|
Forum: CMUD Beta Forum Posted: Fri Jul 02, 2010 11:44 pm Subject: [3.19-3.26] Trigger Infinite Loop |
I recently upgraded from 3.17 beta to 3.19 beta. Since then, if I try to log in to one of my games, two of my long-time working triggers seems to be causing issues:
<trigger name="FixSlashe ... |
Topic: Escape Triggers |
Delphi03
Replies: 7
Views: 8152
|
Forum: CMUD General Discussion Posted: Fri Apr 09, 2010 3:45 am Subject: Escape Triggers |
All right.
Thanks for all the help. I'll explore other options if possible, but it sounds like I'll just have to deal with it not working as well as expected. |
Topic: Escape Triggers |
Delphi03
Replies: 7
Views: 8152
|
Forum: CMUD General Discussion Posted: Thu Apr 08, 2010 8:09 pm Subject: Escape Triggers |
Yes, it has an "enhanced" client.
I was just looking to mimic some of the "enhanced" features for convenience.
It is a shame there's no way to create triggers against the incoming/raw text befor ... |
Topic: Escape Triggers |
Delphi03
Replies: 7
Views: 8152
|
Forum: CMUD General Discussion Posted: Thu Apr 08, 2010 4:18 am Subject: Escape Triggers |
There's no fancy protocol at all, it's just sent raw from the server; however, I can't even see that in the cmud window as incoming text. Neither the (esc) character nor the P character show up at all ... |
Topic: Escape Triggers |
Delphi03
Replies: 7
Views: 8152
|
Forum: CMUD General Discussion Posted: Thu Apr 08, 2010 3:15 am Subject: Escape Triggers |
Anyone? |
Topic: Escape Triggers |
Delphi03
Replies: 7
Views: 8152
|
Forum: CMUD General Discussion Posted: Fri Apr 02, 2010 6:08 pm Subject: Escape Triggers |
I'm trying to make a trigger against some output that's sent to show ailments/buffs.
This is usually sent in the format of:
(esc)(letter) (ailment/buff message)
whe ... |
Topic: [Solved] Text Replace/Function Call |
Delphi03
Replies: 14
Views: 22330
|
Forum: CMUD Beta Forum Posted: Fri Apr 02, 2010 3:46 pm Subject: [Solved] Text Replace/Function Call |
This is probably the most likely variation to work:
#trigger {(.*)} {#substitute %subregex(%1, "(\^F)", %expand("@RandHigh()"))}
This one worked just fine, thank you.
As a side note, this does ... |
Topic: [Solved] Text Replace/Function Call |
Delphi03
Replies: 14
Views: 22330
|
Forum: CMUD Beta Forum Posted: Fri Apr 02, 2010 3:28 pm Subject: [Solved] Text Replace/Function Call |
Using CMUD 3.16b currently. |
Topic: [Solved] Text Replace/Function Call |
Delphi03
Replies: 14
Views: 22330
|
Forum: CMUD Beta Forum Posted: Fri Apr 02, 2010 3:09 pm Subject: [Solved] Text Replace/Function Call |
However, there is a way around that. By delaying the point at which the function @RandHigh is expanded.
With quotes, like so:
#trigger {(.*)} {#substitute %subregex(%1, "(\^F)", "@RandHigh()")}
... |
Topic: [Solved] Text Replace/Function Call |
Delphi03
Replies: 14
Views: 22330
|
Forum: CMUD Beta Forum Posted: Fri Apr 02, 2010 6:08 am Subject: [Solved] Text Replace/Function Call |
I have the following trigger:
#trigger {(.*)} {#substitute %replace(%1, ^F, @randHigh())}
and the following function:
#function randHigh {#ret ... |
Topic: #ALARM Help |
Delphi03
Replies: 8
Views: 13850
|
Forum: zMUD General Discussion Posted: Wed Feb 01, 2006 5:02 am Subject: #ALARM Help |
I guess I needed to be 'connected'. It does indeed work then. I don't suppose there is a way to make this work while not connected? |
Topic: #ALARM Help |
Delphi03
Replies: 8
Views: 13850
|
Forum: zMUD General Discussion Posted: Wed Feb 01, 2006 1:24 am Subject: #ALARM Help |
Sorry, no. That does not work. I tried testing that exactly. When 'enabled' it did nothing. I disabled/enabled. Nothing. |
Topic: #ALARM Help |
Delphi03
Replies: 8
Views: 13850
|
Forum: zMUD General Discussion Posted: Tue Jan 31, 2006 10:36 pm Subject: #ALARM Help |
I'd like to be able to repeatedly enter a single command to lure creatures into a room as well as attack them when they enter. While this *can* be done using an alarm that triggers every second, it ma ... |
Topic: #ALARM Help |
Delphi03
Replies: 8
Views: 13850
|
Forum: zMUD General Discussion Posted: Tue Jan 31, 2006 9:57 pm Subject: #ALARM Help |
Hello.
This might have already been asked, but I couldn't find it anywhere on a quick search through the forums.
I'm wondering if there is anyway to set an Alarm type trigger that will go off fa ... |
Topic: Character/HTML Problems |
Delphi03
Replies: 3
Views: 5450
|
Forum: zMUD General Discussion Posted: Thu Sep 08, 2005 3:28 am Subject: Character/HTML Problems |
I didn't do any importing or anything with #KILLALL. I simply disabled MXP within zmud (I'm using 7.04) and it fixed the inablilty to send/receive emotes and text surrounded with <>.
It did n ... |
Topic: Character/HTML Problems |
Delphi03
Replies: 3
Views: 5450
|
Forum: zMUD General Discussion Posted: Wed Sep 07, 2005 1:13 am Subject: Character/HTML Problems |
Hi all.
I didn't see this mentioned anywhere else as being a problem, so maybe I just have a setting wrong.
If I receive output like this from the MUD:
Someone [42] Shouts <runs to the nea ... |
Topic: One Final Trigger Question |
Delphi03
Replies: 3
Views: 4536
|
Forum: zMUD General Discussion Posted: Wed Sep 08, 2004 12:15 am Subject: One Final Trigger Question |
Alright, this one may actually be a toughie, as my last few seemed (thankfully) quickly resolved and I thank you all for helping.
The MUD sends a string that can be triggered with this pattern (fol ... |
Topic: Timed, Triggered Loops And More |
Delphi03
Replies: 3
Views: 3977
|
Forum: zMUD General Discussion Posted: Tue Sep 07, 2004 7:28 pm Subject: Timed, Triggered Loops And More |
|
|