ZMUD weee.....

Timezone: Central Time (US & Canada) (GMT-06:00)
� Previous :: Next �
AuthorMessage
delta
Watcher
ZMUD weee.....
Wednesday, April 23rd, 2008 at 6:30 amEdits: 3   Last Edit: Wed, 23 Apr 2008 6:38 am
Map Frame:

Code:
#TRIGGER {^The World of Derlith} {}
#MXP <DEST Map EOF></DEST>
#LOOP 1,13 (#CONDITION {(*)} {#GAG; #MXP <DEST Map X=1 Y=%i>%1</DEST>} {Within|Param=13})

If you have farsight on, you'll need to change the two "13"s to "23". I believe elves can see a little farther, so you may need to adjust that if you're an elf.


Clickable Exits (only 4 cardinal directions and derivatives):

Code:
#TRIGGER {Obvious exits: } {}
#CONDITION {southeast} {#SUB {~<send>southeast~</send>}} "reparse"
#CONDITION {southwest} {#SUB {~<send>southwest~</send>}} "reparse"
#CONDITION {northeast} {#SUB {~<send>northeast~</send>}} "reparse"
#CONDITION {northwest} {#SUB {~<send>northwest~</send>}} "reparse"
#CONDITION {east} {#SUB {~<send>east~</send>}} "reparse"
#CONDITION {west} {#SUB {~<send>west~</send>}} "reparse"
#CONDITION {north} {#SUB {~<send>north~</send>}} "reparse"
#CONDITION {south} {#SUB {~<send>south~</send>}} "reparse"



Chat Frame (not complete):

Code:
#TRIGGER {(*) ### (*)} {#MXP <DEST Chat><font color=#00FF00>%1 ### %2</font><br></DEST>}
#TRIGGER {(%w) is auctioning (*)} {#MXP <DEST Chat><font color=red>*** %1 is auctioning %2</font><br></DEST>}
#TRIGGER {Gossip(*)} {#MXP <DEST Chat><font color=magenta>( Gossip %1</font><br></DEST>}
#TRIGGER {-->(*)} {#MXP <DEST Chat><font color=cyan>-->%1</font><br></DEST>}


I'm doing this mainly for the map window. Still a few issues:

A) Gag isn't fast enough - I can still see the map flash on the main window. If you want to use the trigger without the gag, then take #GAG out, and the map will still appear in the main frame as well as the map frame, but not in a seizure-inducing fashion.
B) ANSI color information is carried over to the map frame.
C) I haven't finished making triggers for all methods of communication yet.


Realms ForumIn-Game DiscussionZMUD weee.....