Author |
Message |
Topic: Problem with Triggers. |
Ranaven
Replies: 8
Views: 9612
|
Forum: CMUD Beta Forum Posted: Wed Feb 24, 2010 2:58 pm Subject: Problem with Triggers. |
By the way, having the short descs and names pop up in a separate window is a clever solution. A while back I was pondering ways to handle a similar situation, compounded by the fact that the short d ... |
Topic: Problem with Triggers. |
Ranaven
Replies: 8
Views: 9612
|
Forum: CMUD Beta Forum Posted: Wed Feb 24, 2010 1:37 pm Subject: Problem with Triggers. |
#EXEC %concat("#TRIGGER {@",%1,"desc} {#SAY Test}") will work. To get the variable to expand, you'll need to execute it like this.
*shrug*
I'm too tired to do anything like show a better way t ... |
Topic: Problem with Triggers. |
Ranaven
Replies: 8
Views: 9612
|
Forum: CMUD Beta Forum Posted: Wed Feb 24, 2010 11:46 am Subject: Problem with Triggers. |
You're partially correct in that it's to do with character recognition. I've considered the stringlist, but getting a stringlist to do what I need is beyond my admittedly meagre abilities with Zscript ... |
Topic: Problem with Triggers. |
Ranaven
Replies: 8
Views: 9612
|
Forum: CMUD Beta Forum Posted: Tue Feb 23, 2010 3:29 pm Subject: Problem with Triggers. |
I'm trying to setup a trigger from within an alias, making use of a variable in the pattern. Here's the alias:
Name: add
#var %1 %1
#var addcheck 1
look %1
#trigger {@%1Desc} ... |
Topic: Shadows of Isildur mapper problem!! |
Ranaven
Replies: 4
Views: 8561
|
Forum: zMUD General Discussion Posted: Thu Jun 21, 2007 10:13 pm Subject: Shadows of Isildur mapper problem!! |
Hmm. Some more help here would be appreciated. It's still not detecting doors despite the code that was posted in the prior post.
Also, all doors don't look the same... here are a few examples of e ... |
Topic: Basic Trigger help. |
Ranaven
Replies: 14
Views: 23147
|
Forum: zMUD General Discussion Posted: Fri Mar 17, 2006 12:34 pm Subject: Basic Trigger help. |
Carabas, thou art a saviour.
That was the problem right there, it wasn't set to expression type.
Thanks a lot, and you too Tech.
Problem solved. |
Topic: Basic Trigger help. |
Ranaven
Replies: 14
Views: 23147
|
Forum: zMUD General Discussion Posted: Thu Mar 16, 2006 5:34 pm Subject: Basic Trigger help. |
Having tested the problem remains:
Variable name: Taunt
Value: 0
The trigger is still firing. Every half second.
So what I'm thinking is...
Using:
Pattern :@taunt
The trigger fires ... |
Topic: Basic Trigger help. |
Ranaven
Replies: 14
Views: 23147
|
Forum: zMUD General Discussion Posted: Wed Mar 15, 2006 6:26 pm Subject: Basic Trigger help. |
Thanks a lot Carabas, that did solve the problem...
Unfortunately, with:
Pattern: @taunt
The trigger loops infinitely, regardless of the value of taunt. |
Topic: Basic Trigger help. |
Ranaven
Replies: 14
Views: 23147
|
Forum: zMUD General Discussion Posted: Wed Mar 15, 2006 5:09 pm Subject: Basic Trigger help. |
Hi.
Freely confessed, I'm a coding idiot, and I could use some help with this.
What I'm trying to do is set up a series of triggers to heal an affliction IF I am currently able to eat the healin ... |
|