User Tools

Site Tools


4rpl:commands:setmsgbutton

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setmsgbutton [2022/05/12 16:00] Karsten754rpl:commands:setmsgbutton [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 14: Line 14:
   : A Boolean indicating if the button is visible.  All buttons are disabled by default.   : A Boolean indicating if the button is visible.  All buttons are disabled by default.
   ? text   ? text
-  : The text to appear on the button. Keep it short.  It will wrap and the button height will stretch to accommodate the text. This has access to all of CW4's [[cw4:a.d.a_syntax_syntax_guide|rich text formatting can be used]].+  : The text to appear on the button. Keep it short.  It will wrap and the button height will stretch to accommodate the text. This has access to all of CW4's [[cw4:a.d.a_syntax_syntax_guide|text formatting]].
   ? color   ? color
   :  The background color of the button, expressed as a [[V4]] [[4rpl:commands:specialsyntax#vectors|vector]]. Each of the 4 fields is a floating-point value between 0 (zero) and 1 (one) indicating, respectively, the Red, Green, Blue and Alpha component values. Numbers larger than 1 are treated as 1.    :  The background color of the button, expressed as a [[V4]] [[4rpl:commands:specialsyntax#vectors|vector]]. Each of the 4 fields is a floating-point value between 0 (zero) and 1 (one) indicating, respectively, the Red, Green, Blue and Alpha component values. Numbers larger than 1 are treated as 1. 
Line 20: Line 20:
   : The MSG channel to send the message on when clicked.    : The MSG channel to send the message on when clicked. 
   ? msgText   ? msgText
-  : The string to send to the MSG channel.+  : The string to send to the MSG channel. You must provide a non-empty string, otherwise the message will not be sent.
      
  
4rpl/commands/setmsgbutton.1652371223.txt.gz · Last modified: 2025/02/14 14:56 (external edit)