ZMud Scripts
From LSWiki
Revision as of 08:46, 4 September 2007; Kilelen (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
This is a place for people to post and share ZMud Scripts that might be of interest to others.
Simple Chat Capture
This script will properly capture long multi-line OOC channel chats to a seperate window. In order for this to work properly, you must execute the command:
switch depiction Quote Channel Text
so that OOC channel chats are bounded by double quotation marks.
Just copy and paste this into your command line, no spaces, and it should work:
#CLASS {OOCCap} #TRIGGER {(*)~[OOC (%w) (*)~]$} {#CAP Chats} #TRIGGER {(*)~[OOC (%w)~] ~"(*)} { #CAP Chats #C+ Chats } #TRIGGER {^Capture text OFF$} {#GAG} #TRIGGER {^Capture text ON$} {#GAG} #TRIGGER {~"$} {#C-} #CLASS 0