Project

General

Profile

Webirc » History » Version 13

Per Amundsen, 10/19/2022 12:18 PM

1 1 Per Amundsen
h1. Webirc
2
3
h2. Commands
4
5
[[/showmenu]] -i - Generate textual representation of a menu, use with adiirc_to_web_menu SIGNAL.
6
[[/showmenu]] -l - Click the Nth menu.
7 3 Per Amundsen
[[/drawsave]] -B &binvar - Converts bitmap into a base64 encoded PNG string and stores it into the &binvar.
8 10 Per Amundsen
/mouse @window event mouse.x mouse.y mouse.key
9
10
events:
11
12
<pre>
13
None = 0,
14
Mouse = 1,
15
SIngleClick = 2,
16
MiddleClick = 3,
17
DoubleClick = 4,
18
DoubleMiddleclick = 5,
19
UpClick = 6,
20
UpMiddleClick = 7,
21
RightClick = 8,
22
DoubleRightClick = 9,
23
ListBoxClick = 10,
24
Leave = 11,
25
Drop = 12,
26
WheelUp = 13,
27
WheelDown = 14,
28
Resize = 15,
29
Minimize = 16,
30
Maximize = 17,
31
Restore = 18
32
</pre>
33 1 Per Amundsen
34
h2. Identifiers
35
36 4 Per Amundsen
[[$commands]] - Generates list of built-in commands and aliases found in scripts/plugins, used with adiirc_to_web_scriptschanged SIGNAL.
37 9 Per Amundsen
[[$window]]().backgroundlayout - Gets background layout for this window.
38
[[$line]]().nickcolumn - Gets the line with the nickcolumn character intact.
39 1 Per Amundsen
40
h2. Signals
41 12 Per Amundsen
42 1 Per Amundsen
adiirc_to_web_menu - text,clickid,menustype\r\n
43 5 Per Amundsen
44 1 Per Amundsen
adiirc_to_web_scriptschanged - null
45 5 Per Amundsen
46 7 Per Amundsen
adiirc_to_web_addwindow - cid #channel/@name/nick/Status Window
47
adiirc_to_web_removewindow - cid #channel/@name/nick/Status Window
48 1 Per Amundsen
49
adiirc_to_web_titlechanged - cid #channel/@name/nick/Status Window
50 13 Per Amundsen
51
adiirc_to_web_textadded - cid #channel/@name/nick/Status Window
52 5 Per Amundsen
53 6 Per Amundsen
adiirc_to_web_addtool - cid name (cid can be -1)
54
adiirc_to_web_removetool - cid name (cid can be -1)
55 5 Per Amundsen
56
adiirc_to_web_picwinpaint - @name