Author |
Message |
Topic: Help with Multi-Line Triggers |
blairferrell
Replies: 1
Views: 3201
|
Forum: zMUD General Discussion Posted: Wed Oct 12, 2011 7:59 pm Subject: Help with Multi-Line Triggers |
So, this is my current dilemma. I'm trying to set a trigger that will automatically execute a game command (ENEMY) on any item found within a string list that I have, when detected on WHO.
So for e ... |
Topic: Help with String lists! |
blairferrell
Replies: 6
Views: 6572
|
Forum: zMUD General Discussion Posted: Tue Oct 11, 2011 10:23 pm Subject: Help with String lists! |
So, in case anyone perusing this thread wants to know what I did, it's this.
#if (@focus=1 and @focuswait=0) {
#if (@currentaffs!=%null) {
#exec %db( @afflist, %item( @currentaffs, 1))
... |
Topic: Help with String lists! |
blairferrell
Replies: 6
Views: 6572
|
Forum: zMUD General Discussion Posted: Tue Oct 11, 2011 9:34 pm Subject: Help with String lists! |
the item thing is useful, except that I need to be able to draw the value from afflist. Any help on that? using a combination of the above and below, replacing pop, I get nothing. It fires, but doesn' ... |
Topic: Help with String lists! |
blairferrell
Replies: 6
Views: 6572
|
Forum: zMUD General Discussion Posted: Tue Oct 11, 2011 9:09 pm Subject: Help with String lists! |
Doesnt %pop delete the item though? I dont want the item to be deleted until I get the appropriate cure message for it. Any work around the %pop?
I would have done something similar, but the dilemm ... |
Topic: Help with String lists! |
blairferrell
Replies: 6
Views: 6572
|
Forum: zMUD General Discussion Posted: Tue Oct 11, 2011 8:44 pm Subject: Help with String lists! |
So, I'm basically looking to fire off items from a string list, but I don't want my #forall command to fire them all off at once, this is what I'm looking at right now. It works, though I know right n ... |
Topic: Database Help! |
blairferrell
Replies: 1
Views: 3335
|
Forum: zMUD General Discussion Posted: Fri Aug 19, 2011 5:19 pm Subject: Database Help! |
Okay, update, I've figured a lot of my questions out, now
I can do #additem afflist Impatience "focus spirit" which will give me a key of Impatience with the value of Focus Spirit, but how do I set ... |
Topic: Database Help! |
blairferrell
Replies: 1
Views: 3335
|
Forum: zMUD General Discussion Posted: Fri Aug 19, 2011 3:25 pm Subject: Database Help! |
Basically, I want to create a curing database. I have a very meager understanding of zscript, and have thus far not been able to decipher the help files in any meaningful way. Basically, I want to be ... |
|