Author |
Message |
Topic: Trigger help please. |
Eul
Replies: 1
Views: 4130
|
Forum: zMUD General Discussion Posted: Wed Nov 02, 2011 8:11 pm Subject: Trigger help please. |
Never mind, I had some brackets in the wrong place and a variable set to the wrong name!
Thanks anyway =) |
Topic: Trigger help please. |
Eul
Replies: 1
Views: 4130
|
Forum: zMUD General Discussion Posted: Wed Nov 02, 2011 7:10 pm Subject: Trigger help please. |
I was wondering if someone could help me please.
I am making a trigger to produce five diferent outcomes depending on some variables.
basicly, if @bury=1 it knows there is something to bury. @al ... |
Topic: Trigger help |
Eul
Replies: 2
Views: 4706
|
Forum: zMUD General Discussion Posted: Wed Jan 12, 2011 12:13 pm Subject: Trigger help |
OH wait, there is a good question, is there a way to use the next line from the mud using look bowl, or maybe something along those lines?
Thanks again. |
Topic: Trigger help |
Eul
Replies: 2
Views: 4706
|
Forum: zMUD General Discussion Posted: Wed Jan 12, 2011 12:09 pm Subject: Trigger help |
I am trying to make a triger to capture some information and add it to a list, and I was after a little help as I appear to be rather terrible at all this. Here is the problem, and since I dont have a ... |
Topic: Midas bot for Realms of Despair |
Eul
Replies: 8
Views: 10026
|
Forum: zMUD General Discussion Posted: Tue Apr 29, 2008 6:23 pm Subject: Midas bot for Realms of Despair |
Could you make the triger check the colour of the line, as emotes are usualy a diferant colour?
E. |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Tue Apr 29, 2008 6:04 pm Subject: Spot the problem |
Ah, just thought of a way.
#class{greetProgonoi}
#trig {Progonoi is standing here.} {say hello!;t#- greetProgonoi;#alarm "greetcooldown" +60 {#t+ ... |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Tue Apr 29, 2008 5:21 pm Subject: Spot the problem |
Is there a command to stop a trigger being fired more than say one every minuet?
Thanks, |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Mon Apr 28, 2008 6:21 pm Subject: Spot the problem |
Well I couldent find much documentation, but after getting back to my home computer it really is quite simple.
Thanks again for all the help. |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Mon Apr 28, 2008 3:21 pm Subject: Spot the problem |
Thank you!
if a take a look at the help file for that will it also point to other commands for them?
I would check, but posting quickly from work :)
E. |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Mon Apr 28, 2008 7:53 am Subject: Spot the problem |
Just another question!
The mud I play gives a constant health and mana feedback to zmud. Is there a way to make an #if statment to check those values?
EDIT - just making myself clearer, the info ... |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Sat Apr 26, 2008 3:37 pm Subject: Spot the problem |
More cleanups and adjustmentsAdjusted indentation to my style so I would be comfortable playing with it.
Changed redundant use matching operator in the #IF's to %ismember
Reduced duplication of code ... |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Sat Apr 26, 2008 3:25 pm Subject: Spot the problem |
Indeed it spams the }.
You should understand, what I changed.
Get back to me with results!
Prog
Yeah, you took out the extra class, end removed a } after my first #if statment. I think. an ... |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Sat Apr 26, 2008 2:31 pm Subject: Spot the problem |
As far as I know, yes. The trigger works, just just keeps sending a } to the mud, but I am having trouble finding where it is.
Thanks, |
Topic: Spot the problem |
Eul
Replies: 15
Views: 17286
|
Forum: zMUD General Discussion Posted: Sat Apr 26, 2008 2:11 pm Subject: Spot the problem |
Because I cannot! I have had a look at this a few times, and I cannot see the problem. It keeps sending a } to the mud I am playing when it encounters an npc I want to engage. It will paste the echo, ... |
Topic: New to script writing |
Eul
Replies: 6
Views: 8209
|
Forum: zMUD General Discussion Posted: Mon Feb 11, 2008 9:04 am Subject: New to script writing |
Just been tinkering with this, and I think I was going the wrong way with this to be honest.
How can I get Zmud to capture the last line of text sent from the mud? It has various diferant discripti ... |
Topic: New to script writing |
Eul
Replies: 6
Views: 8209
|
Forum: zMUD General Discussion Posted: Sun Feb 10, 2008 5:12 pm Subject: New to script writing |
Hi there, I have recently taken a break from MUD's in general and I am going to get back into the whole thing.
I wanted to write a few scripts but I did not want to use someone elses code, even as ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Sun Jul 15, 2007 1:06 pm Subject: Script problems |
The only reason why I dident want to use this method was because I had just rewritten the way the script picks up npcs in the room, I mentioned that before (scroll up if you want to see how it dose it ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Sun Jul 15, 2007 1:06 pm Subject: Script problems |
The only reason why I dident want to use this method was because I had just rewritten the way the script picks up npcs in the room, I mentioned that before (scrool up if you want to see how it dose it ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Sun Jul 15, 2007 8:31 am Subject: Script problems |
Ok, I tried moving the {} but to no avail, I had it working like this;
#TRIGGER {(*) ({standing here|sitting here|lying here|squatting on the ground}).} {#v ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Sat Jul 14, 2007 3:02 pm Subject: Script problems |
Ok, I changed it again:
#TRIGGER {^There are* obvious exits*} {#ALARM {+1} {#if ((@inroom="") or %ismember( "Guard", @inroom) o ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Sat Jul 14, 2007 6:06 am Subject: Script problems |
Yes it made sense, but I was using match because I didn’t want to make another list. What I currently have is a trigger that picks everything in the room and ands it to inroom so if there was a common ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Fri Jul 13, 2007 8:54 pm Subject: Script problems |
I have a problem with the below trigger;
#TRIGGER {^There are* obvious exits*} {#if (inroom= "") {#step;#pause;#abort 1} {#forall @inroom {#if ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Tue Jul 10, 2007 3:21 pm Subject: Script problems |
Ok, two more questions :)
Is there a way of changing the string to look like this;
a(*) ({dog|cat|rat|commoner|guard})* ({standing here.|chasing here.|leaning he ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Tue Jul 10, 2007 2:35 pm Subject: Script problems |
Yes, you are right. Although my above was an example, as I was not at my computer to give a piece of exact output from the mud. It actualy lists all of the NPC's and players in one line. So ignoring t ... |
Topic: Script problems |
Eul
Replies: 50
Views: 42270
|
Forum: zMUD General Discussion Posted: Tue Jul 10, 2007 2:05 pm Subject: Script problems |
Ok, I have had another go at this. I couldent get my head around how to combine these to triggers so I dident bother, so they should both scan the npc list line and one will pull out NPC's and the oth ... |
|