Register to post in forums, or Log in to your existing account
 
:
Search found 158 matches for:
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
Author Message
  Topic: Newbie Question..
Maelstrom

Replies: 2
Views: 4964

PostForum: zMUD General Discussion   Posted: Tue Oct 04, 2005 8:11 pm   Subject: Newbie Question..
Sure thing. Parenths IE ( and ) need to be escaped because they are used in the trigger line also to tell ZMud to capture whatever is enclosed. Try the below:
#TRIGGER {^hp: (%d)~((%d)~)}

In the ...
  Topic: Separate tell/channel window
Maelstrom

Replies: 4
Views: 8547

PostForum: zMUD General Discussion   Posted: Mon Oct 03, 2005 7:59 pm   Subject: Separate tell/channel window
Ahh Batmud. Used to play there quite a bit in the day.
You can try this and if it doesnt work let us know for troubleshooting...

#TRIGGER {^%w ?%w?: } {#WINDOW tell}
  Topic: Google does email...
Maelstrom

Replies: 21
Views: 2562

PostForum: eMobius Discussion   Posted: Fri Sep 30, 2005 8:04 pm   Subject: Google does email...
Some of us have been using Gmail for awile now. I know I have. They did a promo for it some time back and only if you got an invitation could you create an account. Hey Zugg, if your really interes ...
  Topic: alarms
Maelstrom

Replies: 6
Views: 9133

PostForum: zMUD General Discussion   Posted: Thu Sep 22, 2005 4:01 pm   Subject: alarms
How is the HP variable being populated? It would seem to be simpler to check the variable when its being set and not as a seperate alarm. I would assume you have a trigger to pull this information a ...
  Topic: How to capture next line
Maelstrom

Replies: 2
Views: 8048

PostForum: zMUD General Discussion   Posted: Mon Sep 19, 2005 7:58 pm   Subject: How to capture next line
How about this?

#TRIGGER {^Someone says:$} {}
#COND {*} {#CAPTURE tell}
  Topic: need help with fixing up trigger.
Maelstrom

Replies: 6
Views: 10348

PostForum: zMUD General Discussion   Posted: Fri Sep 16, 2005 11:12 am   Subject: need help with fixing up trigger.
Its not a line color or prompt for sure.
If you paste in color codes (IE %e[1;31m) you have to have the ANSI trigger option enabled.

If you did try ANSI trigger (which is the correct option by the ...
  Topic: need help with fixing up trigger.
Maelstrom

Replies: 6
Views: 10348

PostForum: zMUD General Discussion   Posted: Thu Sep 15, 2005 3:58 pm   Subject: need help with fixing up trigger.
You are right. The color code are sent when the color actually changes. Or in this case at the very beginning of the line. You just need to add in some wild card to grab the missing disarmer.

Tr ...
  Topic: Another CSS challenge
Maelstrom

Replies: 3
Views: 13845

PostForum: Zugg's Blog   Posted: Wed Sep 14, 2005 4:23 pm   Subject: Another CSS challenge
Have you tried to modify the templates from BlueRobot? Good stuff. I bet you could use his first example (2 column with left menu). The example, which seems to fit your above criteria, has a header ...
  Topic: Problem with using #TEMP in Enchanting script for Achaea
Maelstrom

Replies: 1
Views: 4953

PostForum: zMUD General Discussion   Posted: Tue Sep 06, 2005 2:56 pm   Subject: Problem with using #TEMP in Enchanting script for Achaea
Try using a conditional trigger instead. This way the timings between the different balances do not have to be a consideration. The conditional trigger may have to be reset to its original condition ...
  Topic: Trigger Abuse
Maelstrom

Replies: 13
Views: 17491

PostForum: zMUD General Discussion   Posted: Thu Sep 01, 2005 5:01 pm   Subject: Trigger Abuse
Since the wildcard is the issue remove it and make your trigger more specific.

#trig {^(%w) has just given you {his|her} consent.$} {group %1}
  Topic: Fight Evaluator script
Maelstrom

Replies: 9
Views: 12481

PostForum: zMUD General Discussion   Posted: Fri Aug 19, 2005 7:16 pm   Subject: Fight Evaluator script
Perhaps its just me but =) I cant help poking my head in on this one.

One way to simplify the script (and speed it up alot) would be to ditch the list check. Just assume you want all stats and sor ...
  Topic: Wish-list for zMUDXP
Maelstrom

Replies: 248
Views: 460702

PostForum: zMUD General Discussion   Posted: Wed Aug 10, 2005 8:15 pm   Subject: Wish-list for zMUDXP
I suppose for wishes sake I could add my two cents in with everyone elses...

Layout:
- Some people like different layouts than others. I found it annoying that some windows could be docked where ...
  Topic: Make trigger A fire before trigger B?
Maelstrom

Replies: 4
Views: 8528

PostForum: zMUD General Discussion   Posted: Thu Aug 04, 2005 6:14 pm   Subject: Make trigger A fire before trigger B?
You might be able to delay it by a single line but that might be sub-optimal. I will think about it and if I come up with anything better ill post back...

#TRIGGER {^whatever$}
#TRIGGER {^whateve ...
  Topic: Automapper 'fun'
Maelstrom

Replies: 3
Views: 4997

PostForum: zMUD General Discussion   Posted: Mon Aug 01, 2005 8:47 pm   Subject: Automapper 'fun'
Most mapper issues that I run across is in zMud not properly getting the prompt. Dont assume (even if the regex in the mapper config is correct) that its always going to work. I dont know why but I ...
  Topic: #TRIGGER question
Maelstrom

Replies: 5
Views: 6681

PostForum: zMUD General Discussion   Posted: Mon Aug 01, 2005 6:47 pm   Subject: #TRIGGER question
I dont know what the 517 is either...

The %* pattern is used to match every character (including special characters). Example:
#ONINPUT {^~'(%*)} {say %1}
'hello;test

will send
say hello
te ...
  Topic: help with variables
Maelstrom

Replies: 2
Views: 4279

PostForum: zMUD General Discussion   Posted: Wed Jul 27, 2005 2:33 pm   Subject: help with variables
(d) will look for a literal "d" in the trigger line so this trigger is (probably) never firing.
The %1, %2 etc are the matches from the trigger line which is in parenths. In your example above they ...
  Topic: AutoPracticer
Maelstrom

Replies: 9
Views: 10646

PostForum: zMUD General Discussion   Posted: Thu Jul 21, 2005 6:52 pm   Subject: AutoPracticer
I was just providing what it sounded like in you initial post:

and compare the % of a skill to a statically declared variable


MaxSkills is, of course, the "statically declared" list of values ...
  Topic: AutoPracticer
Maelstrom

Replies: 9
Views: 10646

PostForum: zMUD General Discussion   Posted: Thu Jul 21, 2005 10:42 am   Subject: AutoPracticer

Skills = {animate|bless|cause serious|...}
MaxSkills = {75|75|20|...}

#TRIGGER {^You are now learned at ([%w%s]). ~((%d)~)$} { ...
  Topic: help with trigger please.
Maelstrom

Replies: 2
Views: 5694

PostForum: zMUD General Discussion   Posted: Mon Jul 18, 2005 7:56 pm   Subject: help with trigger please.
Remove the #IFs. These need to be seperate triggers.

#VARIABLE {castingfur} {0}
#TRIGGER {^*A big fluffy bear.} {remove fur bear;#VAR castingfur {1}}
#TRIGGER {The furr falls to the gound.} {#IF ...
  Topic: Automove Script
Maelstrom

Replies: 1
Views: 3856

PostForum: zMUD General Discussion   Posted: Thu Jul 14, 2005 7:44 pm   Subject: Automove Script
I do. I use such a beast myself. You have to set up something close to a state machine to get it to work properly.

You'll need to trigger on three items:
Room name
Mob
Prompt (with hopefully H ...
  Topic: trigger disable other trigger
Maelstrom

Replies: 9
Views: 10280

PostForum: zMUD General Discussion   Posted: Wed Jul 06, 2005 3:31 pm   Subject: trigger disable other trigger
When the trigger is fired set an alarm that will send what you want in 1.5 seconds. Trick is to give it an ID so if another trigger comes in you will over write the older one instead of creating mult ...
  Topic: Trigger Design
Maelstrom

Replies: 2
Views: 4734

PostForum: zMUD General Discussion   Posted: Wed Jun 15, 2005 4:06 pm   Subject: Trigger Design
It would be better, design wise, to combine the ones which serve the same function into a single trigger were appropriate.

Like a mob entering the room from four different directions is a good exam ...
  Topic: Need some help with a var in a trigger
Maelstrom

Replies: 8
Views: 9105

PostForum: zMUD General Discussion   Posted: Sat Jun 11, 2005 6:08 pm   Subject: Need some help with a var in a trigger
Heh, I knew about %n but did not know it would take care of the commas.
Your right, thats better =)
  Topic: HElP PLEASE i dont know whats wrong with my script.
Maelstrom

Replies: 4
Views: 5989

PostForum: zMUD General Discussion   Posted: Sat Jun 11, 2005 1:57 pm   Subject: HElP PLEASE i dont know whats wrong with my script.
Hrph, well the basic code is correct... I tested it.
Perhaps the classes are coming through the mud as lower case?
  Topic: Need some help with a var in a trigger
Maelstrom

Replies: 8
Views: 9105

PostForum: zMUD General Discussion   Posted: Sat Jun 11, 2005 1:53 pm   Subject: Need some help with a var in a trigger
#TRIGGER {^You have ([%d,]) gold coins.$} {get cash bag;deposit %subregex("%1",",","");put cash bag}
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net