Author |
Message |
Topic: help referencing variables |
Apathy
Replies: 0
Views: 3390
|
Forum: CMUD Beta Forum Posted: Wed Nov 01, 2006 4:23 am Subject: help referencing variables |
I created a package, created a variable in the main module of that package, and created a trigger that uses that variable. However, the trigger always seems to create a variable of the same name in t ... |
Topic: [1.12] Expression triggers in seperate .pkg's |
Apathy
Replies: 7
Views: 9827
|
Forum: CMUD Beta Forum Posted: Wed Nov 01, 2006 4:07 am Subject: [1.12] Expression triggers in seperate .pkg's |
I had a similar problem, but with a pattern trigger, and not consistently.
The pattern was just: ^RDMP - Red Dragon Mud Protocol supported$
I moved the trigger to the session window and it started ... |
Topic: substituting mxp elements for other mxp elements |
Apathy
Replies: 6
Views: 11787
|
Forum: zMUD General Discussion Posted: Wed Dec 15, 2004 3:58 am Subject: substituting mxp elements for other mxp elements |
I already tried #mxptrig {mymonster} {#sub blah}. The trigger goes off (I can see other effects), but the #sub doesn't seem to do anything no matter what I try to substitute in. |
Topic: substituting mxp elements for other mxp elements |
Apathy
Replies: 6
Views: 11787
|
Forum: zMUD General Discussion Posted: Tue Dec 14, 2004 5:29 pm Subject: substituting mxp elements for other mxp elements |
Since I never really used mxp I could be off base
#trig {~<monster(*)~</monster>} {#sub {~<mymonster%1~</mymonster>}}
No difference. |
Topic: substituting mxp elements for other mxp elements |
Apathy
Replies: 6
Views: 11787
|
Forum: zMUD General Discussion Posted: Sun Dec 12, 2004 10:41 pm Subject: substituting mxp elements for other mxp elements |
#trig {<monster(%*)</monster>} {
#sub {<mymonster%1</mymonster>}
}
This doesn't work. It performs the substitution satisfactorily when ... |
Topic: substituting mxp elements for other mxp elements |
Apathy
Replies: 6
Views: 11787
|
Forum: zMUD General Discussion Posted: Wed Dec 08, 2004 10:09 pm Subject: substituting mxp elements for other mxp elements |
My mud defines a custom <monster> element that it uses to provide clickable <send> menus on the monster names. The output that I get from the mud looks like this:
<MONSTER id=" ... |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Thu Jul 15, 2004 2:59 pm Subject: triggers not firing |
Thanks, it's working much better now. I had thought that notrigs would just disable trigger processing on the output of that trigger, not on all triggers. |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Thu Jul 15, 2004 5:41 am Subject: triggers not firing |
Thanks for being willing to help, and thanks for using a much lighter tone this time (in my admittedly imperfect estimation anyway). I would have included the call_hooks alias in my previous post, ex ... |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Thu Jul 15, 2004 2:20 am Subject: triggers not firing |
The script is this:
#TRIGGER {^RDMP @RDMP_code HEALTH (%d) (%d) (%d) (%d) (%d) (%d) (%d)$} {
#gag 0
#if %class( Hooks) {#exec call_hooks heartbeat %1 %2 %3 %4 %5 %6 %7}
#var RDMP_hp %1
... |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Wed Jul 14, 2004 11:35 pm Subject: triggers not firing |
Apparently zMUD doesn't like to check triggers while it's actively scripting in the background, or something. After I posted yesterday, I disabled a script that was doing some complicated processing, ... |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Wed Jul 14, 2004 5:23 am Subject: triggers not firing |
Okay. I don't know why what LightBulb suggested didn't occur to me naturally, but I tried it and it continued to happen, so I don't think it's related.
I'm pretty sure it's not a matter of punctua ... |
Topic: triggers not firing |
Apathy
Replies: 20
Views: 29508
|
Forum: zMUD General Discussion Posted: Tue Jul 13, 2004 2:34 am Subject: triggers not firing |
I'm using zmud 7.05 and it's been fine for a while, but the past few days I've had some problems with triggers not always going off. I've got triggers in general enabled, and the classes the triggers ... |
Topic: help with gags and hooks |
Apathy
Replies: 1
Views: 4245
|
Forum: zMUD General Discussion Posted: Fri Jul 09, 2004 12:16 am Subject: help with gags and hooks |
This is really two questions, but here goes.
My mud uses RDMP, a propietary protocol, and I use this trigger to process an informational line that gets sent out every three seconds:
^RDMP @RDMP_ ... |
Topic: #ONINPUT parsing |
Apathy
Replies: 6
Views: 8846
|
Forum: zMUD General Discussion Posted: Sun Jul 13, 2003 8:21 pm Subject: #ONINPUT parsing |
That was what I thought, but then I downloaded it and the docs said that the plugin required valid license information or zmud would refuse to load it. Where do I get a license if I'm just using it f ... |
Topic: #ONINPUT parsing |
Apathy
Replies: 6
Views: 8846
|
Forum: zMUD General Discussion Posted: Sun Jul 13, 2003 5:43 pm Subject: #ONINPUT parsing |
Thanks. I guess I'll just have to live with ~ for now, although it's a pain. I'm actually not using it to keep myself unidle, but to prevent certain triggers from going off when I am idle, so I need ... |
Topic: #ONINPUT parsing |
Apathy
Replies: 6
Views: 8846
|
Forum: zMUD General Discussion Posted: Sun Jul 13, 2003 5:37 am Subject: #ONINPUT parsing |
I'm using a #ONINPUT trigger to do processing every time I send a command to the mud. My problem is that this seems to get disabled whenever I turn off parsing. I normally keep parsing off because I ... |
|