Register to post in forums, or Log in to your existing account
 
:
Search found 12 matches for:
Page 1 of 1
Author Message
  Topic: trig matching multiple times per line
Neo2121

Replies: 1
Views: 4001

PostForum: zMUD General Discussion   Posted: Tue Jan 22, 2008 2:34 pm   Subject: trig matching multiple times per line
got something like this:

A sharp-toothed gremlin#209277, a chaos orb#233372.

can be more than two or just one entry. What I'm trying to do is grab the <name>#<number> in a db variabl ...
  Topic: Help with gains and losses from casting
Neo2121

Replies: 3
Views: 7052

PostForum: zMUD General Discussion   Posted: Tue Dec 18, 2007 9:45 am   Subject: Help with gains and losses from casting
make a trigger with a pattern something like < * | *h *m *v | * > that triggers on the prompt then the script would be something like

old_health = @health
old_mana = @mana
health = %2
mana ...
  Topic: Capturing Room Exits in a String List
Neo2121

Replies: 4
Views: 6554

PostForum: zMUD General Discussion   Posted: Mon Dec 17, 2007 1:23 pm   Subject: Capturing Room Exits in a String List

#IF (%regex( @neo_exits, " north\b") != 0) {#additem neo_dir " north "}
#IF (%regex( @neo_exits, " south\b") != 0) {#add ...
  Topic: Capturing Room Exits in a String List
Neo2121

Replies: 4
Views: 6554

PostForum: zMUD General Discussion   Posted: Mon Dec 17, 2007 11:31 am   Subject: Capturing Room Exits in a String List
typical exit line:
You see exits leading north, northeast, east, southeast, south, southwest (open door), west, and northwest.

Question:

How do I get all those directions in a string list varia ...
  Topic: Capturing text based on ANSI color
Neo2121

Replies: 6
Views: 9838

PostForum: zMUD General Discussion   Posted: Tue Oct 09, 2007 7:38 am   Subject: Capturing text based on ANSI color
WOOT! I can finally get to work, thanks people, works great, i'll post back with my finished script :)
  Topic: Capturing text based on ANSI color
Neo2121

Replies: 6
Views: 9838

PostForum: zMUD General Discussion   Posted: Mon Oct 08, 2007 9:10 pm   Subject: Capturing text based on ANSI color
Gah.. can't seem to get it to match properly.. The mud has wordwrapping OFF, but i do have it turned on in zMud from preferences, my guess is it doesn't affect it (or at least i hope it doesn't). In a ...
  Topic: Capturing text based on ANSI color
Neo2121

Replies: 6
Views: 9838

PostForum: zMUD General Discussion   Posted: Mon Oct 08, 2007 3:13 pm   Subject: Capturing text based on ANSI color
Thank you for your very detaliled reply Very Happy I'll give it a shot and post back if i have any problems.
  Topic: Capturing text based on ANSI color
Neo2121

Replies: 6
Views: 9838

PostForum: zMUD General Discussion   Posted: Mon Oct 08, 2007 1:23 pm   Subject: Capturing text based on ANSI color
The mud i'm playing on, Achaea, doesn't use any linebreak between the room description and the items/people inside it. It does however color them differently

What I'm trying to do is make a script ...
  Topic: Achaea ansi colour-based triggers?
Neo2121

Replies: 6
Views: 9789

PostForum: zMUD General Discussion   Posted: Thu Dec 28, 2006 6:45 pm   Subject: Achaea ansi colour-based triggers?
bloody hell i cant seem 2 get it to work, ther's no new line between the white part and the gray part.. so that whole line starts with white.. maybe that's messin with it *shrug*
  Topic: Achaea ansi colour-based triggers?
Neo2121

Replies: 6
Views: 9789

PostForum: zMUD General Discussion   Posted: Thu Dec 28, 2006 3:41 pm   Subject: Achaea ansi colour-based triggers?
omg i never thought of that *slaps himself on the head multiple times*
  Topic: Achaea ansi colour-based triggers?
Neo2121

Replies: 6
Views: 9789

PostForum: zMUD General Discussion   Posted: Thu Dec 28, 2006 3:29 pm   Subject: Achaea ansi colour-based triggers?
Hmm I'm gonna try that now

what in trying to do is grab the part that lists items and put it in a variable so i can insert linebreaks after each item and make it look more readable so it's like

...
  Topic: Achaea ansi colour-based triggers?
Neo2121

Replies: 6
Views: 9789

PostForum: zMUD General Discussion   Posted: Thu Dec 28, 2006 9:10 am   Subject: Achaea ansi colour-based triggers?
One annoying thing in achaea is that ther's no linebreak between the room description and different items/ppl that exist in the room. What i'm tryin to do is grab the whole room desc+items+ppl etc and ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net