| Author |
Message |
Topic: please help with matching a target |
brys0005
Replies: 5
Views: 7428
|
Forum: zMUD General Discussion Posted: Sun Jul 23, 2006 12:19 am Subject: please help with matching a target |
| I appreciate the help, but i think you guys are missing the point. If I have 'a large yellow snake' stored in a mob variable, i need to iterate through all of the words...i need to hunt large, hunt y ... |
Topic: please help with matching a target |
brys0005
Replies: 5
Views: 7428
|
Forum: zMUD General Discussion Posted: Sat Jul 22, 2006 10:32 pm Subject: please help with matching a target |
| well, i have triggers for automatically hunting something based on results of hunt <victim>. So when it says <victim> is <direction> from here i move in that direction. The hunting ... |
Topic: please help with matching a target |
brys0005
Replies: 5
Views: 7428
|
Forum: zMUD General Discussion Posted: Sat Jul 22, 2006 10:12 pm Subject: please help with matching a target |
| I need some help with matching a target. I have a variable called mob that stores the name of my target, say 'a large yellow snake' and I want to hunt it with a trigger. I have triggers setup to aut ... |
Topic: Please help with a key/record list |
brys0005
Replies: 3
Views: 5281
|
Forum: zMUD General Discussion Posted: Fri Jul 21, 2006 6:28 pm Subject: Please help with a key/record list |
| I thought %ismember is for lists, not records |
Topic: Please help with a key/record list |
brys0005
Replies: 3
Views: 5281
|
Forum: zMUD General Discussion Posted: Fri Jul 21, 2006 7:50 am Subject: Please help with a key/record list |
So i need to store stuff into a key/record list. I've figured this part out:
#ADDKEY list {key} {record}
Now, I need to match something to the list. say my record list looks like:
bat|kick|dog| ... |
Topic: Help with parsing multiple lines and storing to a list |
brys0005
Replies: 4
Views: 5808
|
Forum: zMUD General Discussion Posted: Sat Nov 05, 2005 7:59 pm Subject: Help with parsing multiple lines and storing to a list |
Ok, here is a sample of the mud:
A dirt road in Karin(n, w, e)
The skeleton of a guard
A female town guard
A big muscular town guard
A small scrawny town guard
HP:95 EP:73>
What I w ... |
Topic: Help with parsing multiple lines and storing to a list |
brys0005
Replies: 4
Views: 5808
|
Forum: zMUD General Discussion Posted: Sat Nov 05, 2005 2:30 am Subject: Help with parsing multiple lines and storing to a list |
I need to parse multiple lines from the mud and store them to a list so I can use them at a later time. The lines are each on a new line, like:
A big guard
A small guard
A ugly girl
Ideally ... |
Topic: trigger needs to match to a list...please help |
brys0005
Replies: 2
Views: 6816
|
Forum: zMUD General Discussion Posted: Thu Sep 22, 2005 7:34 pm Subject: trigger needs to match to a list...please help |
| Well, there is always a prompt, and there is no limit on the number of mobs that will appear in a room, though usually it's only a few. The only problem with your trigger, is that I need it store the ... |
Topic: trigger needs to match to a list...please help |
brys0005
Replies: 2
Views: 6816
|
Forum: zMUD General Discussion Posted: Thu Sep 22, 2005 6:52 pm Subject: trigger needs to match to a list...please help |
Hi guys,
I want to walk into a room, and have triggers set some variables if elements of a list match what is in the room. Then I need an IF/ELSE statement that does something like
if(@friend) ... |
| |