I play on MUME (mume.pvv.org 4242)
Its a pk mud where the 'enemies' are surrounded by stars
For example: *an Elf* has arrived from the north.
or: *a noble Elf* has arrived from the north.
Because of the spam many enemies make I made a regexp trigger that triggers on that line looking like this:
\*(.*) Elf\* has arrived from the (.*).$
Now I only highlight elves in green, but I'd also like the
last argument to be parsed. My idea is to gag the oroginal line, and replace it with the follwing(in Green):
*an Elf* has arrived from the <<< WEST <<<
Can that be done? I'd like to use jscript for it if any script is needed.
// Thanks
Its a pk mud where the 'enemies' are surrounded by stars
For example: *an Elf* has arrived from the north.
or: *a noble Elf* has arrived from the north.
Because of the spam many enemies make I made a regexp trigger that triggers on that line looking like this:
\*(.*) Elf\* has arrived from the (.*).$
Now I only highlight elves in green, but I'd also like the
last argument to be parsed. My idea is to gag the oroginal line, and replace it with the follwing(in Green):
*an Elf* has arrived from the <<< WEST <<<
Can that be done? I'd like to use jscript for it if any script is needed.
// Thanks