In one of my triggers I've basically got one line that I keep having to manually add or delete depending on if someone is in the same area as me. (I change it to avoid whatever room they happen to reside in).
It'd be much easier if I could just put some symbol in front of it much like a comment in C so that it'll just ignore that line... and when I need it active can just quickly edit and remove the comment so its in effect.
Hopefully that makes sense : )
Here's the trigger (pattern: Obvious exits:%s(*).), in case you can think of some better way to do it other than continually adding/removing the bold line:
#GAG
#VAR Exits {%1}
#VAR exits %replace( @exits, " ", "|")
#IF (@exits="north|south|east") {#VAR exits {north|east}}
#VAR DirToGo %item( @exits, %random( 1, %numitems( @exits)))
#IF @RoomEmpty {
#IF (@CurFat<50) {drink bot}
@DirToGo
#VAR RoomEmpty 0
} {
bite @target
#VAR RoomEmpty 0
}
The area is small... 6 rooms, shaped like this:
0 0
| |
0-0
| |
0 0
... ok, enough rambling : )
Dan
The unstained tower breaks and bends knee to the forgotten sign. The seas rage, and storm clouds gather unseen. What was exalted is cast down; what was cast down is raised up. Order burns to clear his path.