Cmud room name/description window management - hud (script)

From Elanthipedia
Revision as of 13:55, 14 November 2016 by ASDF123 (talk | contribs) (Created page with "{{Script |cat=utility,hud |fe=cmud |auth=Tirsten }} ==General Information== <blockquote> <pre> This script will gag the roomname/description/also here etc a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Cmud room name/description window management - hud (script)
Category utility,hud
Front-end cmud
Author Tirsten


General Information

This script will gag the roomname/description/also here etc and populate a custom window with that information

Front end: Cmud

The Script

<class name="room" id="36">
  <trigger priority="40" id="4">
    <pattern>^~[(*)~]$</pattern>
    <value>#gag
      #win roomdesc %line
      </value>
    <trigger>
      <pattern>^(*)$</pattern>
      <value>#gag
        #win roomdesc %line
        </value>
    </trigger>
  </trigger>
  <trigger priority="60" id="6">
    <pattern>^Obvious {paths|exits}: (*).$</pattern>
    <value>#gag
      #win roomdesc %line
      </value>
    <trigger name="asdfasdf" type="Within Lines" param="1">
      <pattern>^Placed around the interior, you see:</pattern>
      <value>#gag
        #win roomdesc %line
        </value>
    </trigger>
  </trigger>
  <trigger priority="80" id="8">
    <pattern>^Also here: </pattern>
    <value>#gag
      #win roomdesc %line
      </value>
  </trigger>
</class>