Author |
Message |
Topic: Loop to create many triggers |
Tommy2143
Replies: 2
Views: 1608
|
Forum: zMUD General Discussion Posted: Wed Aug 27, 2003 3:39 pm Subject: Loop to create many triggers |
Thankee much |
Topic: Loop to create many triggers |
Tommy2143
Replies: 2
Views: 1608
|
Forum: zMUD General Discussion Posted: Wed Aug 27, 2003 8:01 am Subject: Loop to create many triggers |
Ok I've got this text file full of monster death messages. I wanna do a loop to add a trigger for each one. I'm gonna manually edit the actions tho.
So I've got this line
#loop 574 {#trigger {%rea ... |
Topic: Memory Problem |
Tommy2143
Replies: 2
Views: 1468
|
Forum: zMUD General Discussion Posted: Mon Aug 25, 2003 7:14 am Subject: Memory Problem |
ZMud is causing me a virtual memory problem, and I cant figure out if it's the program itself or something in my script, but I'm wondering if anyone's had this problem before. My swap file gets huge ... |
Topic: Need some ideas |
Tommy2143
Replies: 4
Views: 2271
|
Forum: zMUD General Discussion Posted: Wed Aug 20, 2003 4:12 am Subject: Need some ideas |
Well see, that's how I have it setup currently. When combat ends, it #cr's and refreshes the room list. And if it sees You say "attack (*)" then it clears the list and does a #cr
The problem with th ... |
Topic: Need some ideas |
Tommy2143
Replies: 4
Views: 2271
|
Forum: zMUD General Discussion Posted: Tue Aug 19, 2003 10:08 pm Subject: Need some ideas |
Err no, I meant to make that clearer
Every monster has a unique msg in that one might say "The orc warrior falls to the ground and breaths it's last!" or another might say "Her illusion shattered, th ... |
Topic: Need some ideas |
Tommy2143
Replies: 4
Views: 2271
|
Forum: zMUD General Discussion Posted: Tue Aug 19, 2003 4:55 am Subject: Need some ideas |
Ok so I've got this autoattack setup for MajorMUD
Currently, it just looks in the room, records who's in there and attacks the first available one. I recently modified it to allow for priority attac ... |
Topic: Using the =~ expression |
Tommy2143
Replies: 1
Views: 1059
|
Forum: zMUD General Discussion Posted: Sat Jul 12, 2003 9:08 pm Subject: Using the =~ expression |
I have this code
#if (%word(@currentitem,1) =~ %d)
Which is supposed to see if the first word of @currentitem is a number
However ZMud's settings editor is telling me it's a syntax error
This work ... |
Topic: Database and #loop |
Tommy2143
Replies: 2
Views: 1610
|
Forum: zMUD General Discussion Posted: Mon Mar 10, 2003 4:38 pm Subject: Database and #loop |
Well, I wasnt using #dbreset, but it still does the same thing with it. It actually made stuff weirder, it ADDED a bunch of records I didnt have there before, and I'm not using #new or anything. SOme ... |
Topic: Database and #loop |
Tommy2143
Replies: 2
Views: 1610
|
Forum: zMUD General Discussion Posted: Mon Mar 10, 2003 7:30 am Subject: Database and #loop |
Has anyone else ever had trouble using #loop on database records? I have been trying to initialize the Name field of all the records in 2 different databases
I have it #dbload <database> follo ... |
Topic: Database Loading problems |
Tommy2143
Replies: 3
Views: 1995
|
Forum: zMUD General Discussion Posted: Thu Mar 06, 2003 11:52 pm Subject: Database Loading problems |
The two databases it does that too are party member dbs. All it is a
#dbfirst
loop 5 {
&Name = Noone
#dbnext
}
When I comment that out, the trigger works fine. If I enable it, it gives me ... |
Topic: Database Loading problems |
Tommy2143
Replies: 3
Views: 1995
|
Forum: zMUD General Discussion Posted: Thu Mar 06, 2003 8:31 pm Subject: Database Loading problems |
Ok, I'm attempting to do this with MajorMUD, so what I have it doing is when it logs into the BBS, I have it load the databases I use, 3 of em, and for two of them it is supposed to loop thru the 5 re ... |
Topic: Perplexed |
Tommy2143
Replies: 2
Views: 2007
|
Forum: zMUD General Discussion Posted: Tue Feb 25, 2003 6:19 am Subject: Perplexed |
Well, the reason I did the @combat checks and such is that is seems like a waste of processing to do all that list sorting if combat is already engaged. As for the #wait in the exit line trigger, it's ... |
Topic: Perplexed |
Tommy2143
Replies: 2
Views: 2007
|
Forum: zMUD General Discussion Posted: Mon Feb 24, 2003 4:39 pm Subject: Perplexed |
Ok so I've got this autoattacking script for MajorMUD, and I'm trying to now make a different script to use slowwalking paths to loop with. However, the trigger I use to indicate I've moved a room see ... |
Topic: %strip function |
Tommy2143
Replies: 1
Views: 1382
|
Forum: zMUD General Discussion Posted: Mon Feb 03, 2003 4:49 pm Subject: %strip function |
Is there any way to get %strip to strip ALL numbers that may appear in a string list? I tried using (%d) to indicate a wildcard number, but that didnt work. Is this even possible? Thanks in advance.
... |
Topic: Randomly Deleting Triggers |
Tommy2143
Replies: 6
Views: 3503
|
Forum: zMUD General Discussion Posted: Tue Aug 13, 2002 8:18 am Subject: Randomly Deleting Triggers |
No trust me, it was deleted
When I went to look at the triggers, they were gone
Only some of them, not all of them
I am perplexed myself
|
Topic: Randomly Deleting Triggers |
Tommy2143
Replies: 6
Views: 3503
|
Forum: zMUD General Discussion Posted: Sun Aug 11, 2002 7:35 am Subject: Randomly Deleting Triggers |
Ok umm.. that is all very complicated, heh
But responding to LightBulb, that wouldnt happen because I have multiple triggers setup to recognize various combinations of words and such
MajorMUD has mo ... |
Topic: Randomly Deleting Triggers |
Tommy2143
Replies: 6
Views: 3503
|
Forum: zMUD General Discussion Posted: Sat Aug 10, 2002 8:13 am Subject: Randomly Deleting Triggers |
OK I have these autoattack triggers for MajorMUD, and randomly, without any reason I can see, they delete themselves, and no they are NOT set to temp
^Also here~: (%w) (%w) (%w) (%w).
#if (@combat ... |
|