Cmud what is in your hands - hud (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "{{Script |cat=utility,hud |fe=cmud |auth=Tirsten }} ==General Information== <blockquote> <pre> This script will make two buttons on your screen to show what...")
 
No edit summary
 
Line 28: Line 28:
<pattern>({l|m|p})</pattern>
<pattern>({l|m|p})</pattern>
<value>#if (%1 == "m") {#BU righthand %gsl( m) {glance}}
<value>#if (%1 == "m") {#BU righthand %gsl( m) {glance}}
#if (%1 == "l") {#BU lefthand %gsl( l) {glance}}
#if (%1 == "l") {#BU lefthand %gsl( l) {glance}}
#if (%1 == "p") {
#if (%1 == "p") {
#BU roomname %gsl( p) {glance}
#BU roomname %gsl( p) {glance}
#win roomnamedesc " "
#win roomnamedesc " "
#win roomnamedesc "[ " %gsl( p) " ] "
#win roomnamedesc "[ " %gsl( p) " ] "
}
}</value>
</trigger>
</value>
</trigger>
</pre>
</pre>

Latest revision as of 13:39, 14 November 2016

Cmud what is in your hands - hud (script)
Category utility,hud
Front-end cmud
Author Tirsten


General Information

This script will make two buttons on your screen to show what is in your hands

Front end: Cmud

Usage:  button size and placement needs to be manually set


The Script

<trigger type="GSL" priority="3170" id="317">
  <pattern>({l|m|p})</pattern>
  <value>#if (%1 == "m") {#BU righthand %gsl( m) {glance}}
    #if (%1 == "l") {#BU lefthand %gsl( l) {glance}}
    #if (%1 == "p") {
      #BU roomname %gsl( p) {glance}
      #win roomnamedesc " "
      #win roomnamedesc "[ " %gsl( p) " ] "
      }
    </value>
  </trigger>