Author |
Message |
Topic: Multi - line trigger |
graywolf
Replies: 6
Views: 8616
|
Forum: zMUD General Discussion Posted: Wed Aug 06, 2003 4:36 pm Subject: Multi - line trigger |
I was able to get
#TRIGGER {^-- There [is|are] %w obvious [exit|exits]:*$*.} {#beep}
this to work on multiple line exit descriptions. but i can't see a way to make one trigger work for both in ... |
Topic: Multi - line trigger |
graywolf
Replies: 6
Views: 8616
|
Forum: zMUD General Discussion Posted: Wed Aug 06, 2003 4:21 pm Subject: Multi - line trigger |
thats a good idea except i didn't tell you the whole story. the next step i am going to do is to write a trigger that collects all the room contents and puts them in an array.
i was wondering if s ... |
Topic: Multi - line trigger |
graywolf
Replies: 6
Views: 8616
|
Forum: zMUD General Discussion Posted: Wed Aug 06, 2003 1:39 am Subject: Multi - line trigger |
-- There are six obvious exits: north, south, west, east,
northwest and northeast.
>
#TRIGGER {^-- There [is|are] %w obvious [exit|exits]: *.} {#beep}
Works fine when the directions f ... |
Topic: trigger on outgoing send |
graywolf
Replies: 2
Views: 4658
|
Forum: zMUD General Discussion Posted: Mon Aug 04, 2003 2:04 pm Subject: trigger on outgoing send |
Is there an easy way to have write a trigger that fires only on text I send to the mudd... ie kill mob
I am trying to write a trigger that keeps track of when I am in battle and when I am not in batt ... |
Topic: Create Variable in a Class |
graywolf
Replies: 1
Views: 3174
|
Forum: zMUD General Discussion Posted: Sat Aug 02, 2003 5:37 am Subject: Create Variable in a Class |
I want to create a variable in a class. This is my Class so far, when my trigers fire they create the below variables in my default class which is currently called none i think.
#CLASS {Battle}
#T ... |
Topic: help files |
graywolf
Replies: 1
Views: 3181
|
Forum: zMUD General Discussion Posted: Fri Aug 01, 2003 10:31 pm Subject: help files |
is there an easy way to print out the entire help? |
Topic: looking for old posts |
graywolf
Replies: 2
Views: 3580
|
Forum: zMUD General Discussion Posted: Fri Aug 01, 2003 5:09 pm Subject: looking for old posts |
Howdy all
I haven't played for a while and I can't remember how to code very well any more :(
I was wondering if there is a place I can search for posts that are older than 2000?
I am looking ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Fri Aug 31, 2001 6:39 pm Subject: String lists and pattern matching |
When I say i use the path i am simply typing
.guardhouse
the build in zmud path commands.
To Explain ...
My bot is kinda complicated..
i have a class called equipment
in that class I hav ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Fri Aug 31, 2001 1:36 pm Subject: String lists and pattern matching |
Not to be harsh but ...
if you read the two posts before your post where you copied my code down... you will see i made those changes before you responded making that suggestion. And the until loo ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2001 1:06 pm Subject: String lists and pattern matching |
by buggy i mean it isn't working properly ie the counter goes negative and it doesn't stop the loop. i had to use an if statment in conjuntion with the abort command to exit the loop based on the sam ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2001 3:12 am Subject: String lists and pattern matching |
Is there a loop structure that is less buggy than until?
Graywolf |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2001 1:54 am Subject: String lists and pattern matching |
i fixed it by putting in a
#if (counter<0) {#abort}
after the #add Counter -1
but i would still like to know why the until loop keeps screwing up.
Graywolf |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2001 1:50 am Subject: String lists and pattern matching |
For some reason it gets into an endless loop when i speedwalk. counter goes below 0 and keeps looping. so i changed the code to say counter<1 and it still keeps going... arrrghhhh any ideas?
G ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2001 1:39 am Subject: String lists and pattern matching |
I spent 6 hours to get this to work. silly little bugs like haveing a @in front of a variable when it wasn't supposed to be there took me hours arggghhh. well here is my master piece.
It goes th ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Tue Aug 28, 2001 9:17 pm Subject: String lists and pattern matching |
This is absolute beauty. I am almost psitive this will work thank. I will keep you all updated if it works.
Graywolf |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Tue Aug 28, 2001 1:22 pm Subject: String lists and pattern matching |
What I am trying to do is check the room for players characters, before I will attack a monster. I have a class for each monster that I am killing. In the class I have a sting list with the monsters ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Mon Aug 27, 2001 10:07 pm Subject: String lists and pattern matching |
there are many set stages of decay depending on the critter you are fighting.
when you kill something it goes though each of these stages. that is why i was looking for a way to just look for a pa ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Mon Aug 27, 2001 9:32 pm Subject: String lists and pattern matching |
there will always be and pieces after odd bit.
The problem with doning it the way you suggested is that i would have to make and array with 3 different decaying stages for each monster, that would ... |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Mon Aug 27, 2001 1:45 pm Subject: String lists and pattern matching |
I need a genius here. guru's please help. let me know if you need any more info.
Graywolf |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Mon Aug 27, 2001 1:45 am Subject: String lists and pattern matching |
any other idea's?
Graywolf |
Topic: String lists and pattern matching |
graywolf
Replies: 27
Views: 55081
|
Forum: zMUD General Discussion Posted: Sun Aug 26, 2001 2:34 pm Subject: String lists and pattern matching |
Hi All
What I want to do is have a string list of acceptable room contents i.e. a coin, 10 coins, a corpse of war hero, odd bits and peices of a war hero, a pile of dust.
the corpse and odd bit ... |
|