Author |
Message |
Topic: Forall with string lists |
talith
Replies: 6
Views: 11463
|
Forum: zMUD General Discussion Posted: Sat Jun 16, 2012 11:27 am Subject: Forall with string lists |
Ok I'll try to explain better.
Here is the trigger.
#TRIGGER {(*)} {
#IF (%ismember( %line, @linelist)) {} {
#say {Adding %l ... |
Topic: Forall with string lists |
talith
Replies: 6
Views: 11463
|
Forum: zMUD General Discussion Posted: Sat Jun 16, 2012 7:42 am Subject: Forall with string lists |
Perfect, the above code works just like I wanted. I do have an additional question though. If I have a value in the string list such as @testvalue, and the mud sends the text "@testvalue", it doesn' ... |
Topic: Forall with string lists |
talith
Replies: 6
Views: 11463
|
Forum: zMUD General Discussion Posted: Sat Jun 16, 2012 12:06 am Subject: Forall with string lists |
Greetings.
I'm attempting to create a simple trigger that fires for every line received and checks %line (the last line received from the mud) against a string list I have. The goal is to fire whe ... |
Topic: Checking a number range? |
talith
Replies: 2
Views: 5824
|
Forum: zMUD General Discussion Posted: Sun Sep 11, 2011 9:47 am Subject: Checking a number range? |
I'm attempting to check a number against a range, and if true return a value. In python it would look like:
if auraNumber == 1:
return 'one'
elif auraNumber in range(398,458):
... |
Topic: stumped with trigger. |
talith
Replies: 1
Views: 4118
|
Forum: CMUD General Discussion Posted: Thu May 19, 2011 12:23 am Subject: stumped with trigger. |
I'm trying to get a trigger working and while it does semi work, it's not working quite the way I want it to. This trigger fires anytime i look into a container. It counts the items inside, and disp ... |
Topic: Function for moving map rooms? |
talith
Replies: 3
Views: 7374
|
Forum: zMUD General Discussion Posted: Sun Jan 30, 2011 4:06 am Subject: Function for moving map rooms? |
Yea, I know I can do that. But the mud I play has rooms that go up and down and I would like to automatically move these rooms up and down z levels instead of having to do each one manually. |
Topic: Function for moving map rooms? |
talith
Replies: 3
Views: 7374
|
Forum: zMUD General Discussion Posted: Sat Jan 29, 2011 8:28 pm Subject: Function for moving map rooms? |
I'v looked through the documentation several times and have yet to find what I'm looking for. I'm in need of a method for moving map rooms up and down levels on the map. The only way I know to do th ... |
Topic: Multi state trigger help |
talith
Replies: 2
Views: 7919
|
Forum: zMUD General Discussion Posted: Tue Oct 05, 2010 2:14 am Subject: Multi state trigger help |
Greetings.
I am attempting to do something which in my mind seems should be pretty simple. I want to keep track of how many times i succeed at doing something in a row. The tricky part comes fro ... |
Topic: help converting zmud trigger to cmud |
talith
Replies: 1
Views: 5505
|
Forum: CMUD General Discussion Posted: Sat Aug 07, 2010 7:43 pm Subject: help converting zmud trigger to cmud |
I used to have a triggrer that did something like:
"You are better at %1"
#ad %1 1
it would take the %1 and make a variable of it, and keeping adding to it everytime it triggers.
This same ... |
Topic: Making rooms on differnt levels |
talith
Replies: 3
Views: 7479
|
Forum: zMUD General Discussion Posted: Thu Oct 11, 2007 4:21 pm Subject: Making rooms on differnt levels |
did some searching and saw in an older post that to access zmapper you just use %map variable. Oddly enough, i found no mention of this in any of the helpfiles. |
Topic: Making rooms on differnt levels |
talith
Replies: 3
Views: 7479
|
Forum: zMUD General Discussion Posted: Thu Oct 11, 2007 11:43 am Subject: Making rooms on differnt levels |
i got zmapper to try to play around with it, but it appears i need to access it via COM if i want to do any editing without having to do it manually. I have tried to use #var zmapper %comcreate("zMap ... |
Topic: Making rooms on differnt levels |
talith
Replies: 3
Views: 7479
|
Forum: zMUD General Discussion Posted: Wed Oct 10, 2007 10:52 am Subject: Making rooms on differnt levels |
I was wondering if there was a way to change which level a room was on while mapping. i know that it states "Using the Move menu is the only way to move rooms to a different leve" but i found that if ... |
Topic: mapper exits problem |
talith
Replies: 1
Views: 4502
|
Forum: zMUD General Discussion Posted: Mon Sep 03, 2007 11:52 am Subject: mapper exits problem |
trying to setup a map to be based on the overland hex map on my mud i play. i used zmapper to create a hex room, and linked the rooms by hand and everything is fine except one problem, when i go to f ... |
Topic: Medievia AutoMapper Script |
talith
Replies: 11
Views: 43511
|
Forum: Finished MUD Scripts Posted: Thu Aug 18, 2005 1:02 am Subject: Medievia AutoMapper Script |
Ok i feel like an idiot. I got it working now, after looking at your new prompt trigger it appears the one i wrote was messing it up, i put %d/%dbr even though br doesnt look the same way as the HP a ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Wed Aug 17, 2005 1:35 am Subject: ansi trigger question |
Well Vijilante's changes seem to work almost perfect, the names and desc are right but it fails to map the exits. Carabas, your script you posted with the changes seems to do the same thing your orig ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Tue Aug 16, 2005 9:48 pm Subject: ansi trigger question |
Almost there, except after configuring the mapper, it sends {#IF
to the mud, giving a "Thou must be confused" error. I tried to find where it was coming from and delete the { infront of the if but h ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Tue Aug 16, 2005 7:57 pm Subject: ansi trigger question |
Tried it agian and walked around a bit and here is what happens after walking 3 rooms. When looking at the variables it seems its storing the information of each room, so roomdesc has the description ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Tue Aug 16, 2005 1:30 am Subject: ansi trigger question |
Well it really seems your script should work. I did your instructions, but when i reconfigure the map everthing is missing, and it doesnt map anything. I make sure my prompt matches yours, i just can ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Mon Aug 15, 2005 6:31 pm Subject: ansi trigger question |
I tried it like you pasted but it still messed up, such as mapping mobs and blood. I added a few triggers to #NOMAP anything colored green and red as to not map mobs and blood, but i have no clue how ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Mon Aug 15, 2005 4:29 pm Subject: ansi trigger question |
oh and my triggers i had were
#TR {%e[1;35m(*)} {#tag desc %stripansi("%1")}
#TR {%e[1;33m(*)} {#tag name %stripansi("%1)} |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Mon Aug 15, 2005 3:43 pm Subject: ansi trigger question |
The ansi codes should be like so, ill post the same thing done with html color so its easy to see. The items have no ansi code and so i left black.
%e<223hp 225m 571mv 100br> e
Market S ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Sun Aug 14, 2005 7:13 pm Subject: ansi trigger question |
Ok i take it back about everything really, i was messing around with it trying to get name to work and then when i think its working right, i check the description of the room and i get:
%stripansi ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Sun Aug 14, 2005 6:57 pm Subject: ansi trigger question |
Blast, i fix it so it picks the right room description every time, yet i cannot not get it to pick the room name. This should be so simple, i created the same type of trigger, only this time for a d ... |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Sun Aug 14, 2005 6:25 pm Subject: ansi trigger question |
Amazing, thanks. |
Topic: ansi trigger question |
talith
Replies: 26
Views: 42070
|
Forum: zMUD General Discussion Posted: Sun Aug 14, 2005 4:58 pm Subject: ansi trigger question |
For example, with the follow trigger the mapper finds the desc perfectly, except for the above problem.
#TR {%e[1;35m(*)} {#tag desc %1} will give me mud output like so:
The cobblestones of th ... |
|