Project

General

Profile

Webirc » History » Version 16

Per Amundsen, 10/25/2022 03:51 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 15 Per Amundsen
[[/mouse]] @window event mouse.x mouse.y mouse.key
9 10 Per Amundsen
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 16 Per Amundsen
[[$line]](-N) - Use negative values to get lines from the end.
40 1 Per Amundsen
41
h2. Signals
42 12 Per Amundsen
43 1 Per Amundsen
adiirc_to_web_menu - text,clickid,menustype\r\n
44 5 Per Amundsen
45 1 Per Amundsen
adiirc_to_web_scriptschanged - null
46 5 Per Amundsen
47 7 Per Amundsen
adiirc_to_web_addwindow - cid #channel/@name/nick/Status Window
48
adiirc_to_web_removewindow - cid #channel/@name/nick/Status Window
49 1 Per Amundsen
50 14 Per Amundsen
adiirc_to_web_updatewindow - cid #channel/@name/nick/Status Window
51
52 1 Per Amundsen
adiirc_to_web_titlechanged - cid #channel/@name/nick/Status Window
53 13 Per Amundsen
54
adiirc_to_web_textadded - cid #channel/@name/nick/Status Window
55 5 Per Amundsen
56 6 Per Amundsen
adiirc_to_web_addtool - cid name (cid can be -1)
57
adiirc_to_web_removetool - cid name (cid can be -1)
58 5 Per Amundsen
59
adiirc_to_web_picwinpaint - @name