Webirc » History » Revision 14
Revision 13 (Per Amundsen, 10/19/2022 12:18 PM) → Revision 14/16 (Per Amundsen, 10/19/2022 09:29 PM)
h1. Webirc
h2. Commands
[[/showmenu]] -i - Generate textual representation of a menu, use with adiirc_to_web_menu SIGNAL.
[[/showmenu]] -l - Click the Nth menu.
[[/drawsave]] -B &binvar - Converts bitmap into a base64 encoded PNG string and stores it into the &binvar.
/mouse @window event mouse.x mouse.y mouse.key
events:
<pre>
None = 0,
Mouse = 1,
SIngleClick = 2,
MiddleClick = 3,
DoubleClick = 4,
DoubleMiddleclick = 5,
UpClick = 6,
UpMiddleClick = 7,
RightClick = 8,
DoubleRightClick = 9,
ListBoxClick = 10,
Leave = 11,
Drop = 12,
WheelUp = 13,
WheelDown = 14,
Resize = 15,
Minimize = 16,
Maximize = 17,
Restore = 18
</pre>
h2. Identifiers
[[$commands]] - Generates list of built-in commands and aliases found in scripts/plugins, used with adiirc_to_web_scriptschanged SIGNAL.
[[$window]]().backgroundlayout - Gets background layout for this window.
[[$line]]().nickcolumn - Gets the line with the nickcolumn character intact.
h2. Signals
adiirc_to_web_menu - text,clickid,menustype\r\n
adiirc_to_web_scriptschanged - null
adiirc_to_web_addwindow - cid #channel/@name/nick/Status Window
adiirc_to_web_removewindow - cid #channel/@name/nick/Status Window
adiirc_to_web_updatewindow - cid #channel/@name/nick/Status Window
adiirc_to_web_titlechanged - cid #channel/@name/nick/Status Window
adiirc_to_web_textadded - cid #channel/@name/nick/Status Window
adiirc_to_web_addtool - cid name (cid can be -1)
adiirc_to_web_removetool - cid name (cid can be -1)
adiirc_to_web_picwinpaint - @name