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/04/27 21:27] – editorial changes to conform to other pages in 4RPL group. Removal of excessive coloration. Karsten754rpl:commands:setmsgbutton [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<= [[4rpl:start#Messaging]] 
  
 :!: Available in version 2.3.2 and later. :!: Available in version 2.3.2 and later.
Line 13: 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 19: 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.1651094826.txt.gz · Last modified: 2025/02/14 14:56 (external edit)