Project

General

Profile

$tip » History » Version 10

Per Amundsen, 02/16/2023 03:26 PM

1 1 Per Amundsen
_Added in 1.9.3_
2
3 2 Per Amundsen
*$tip(name/N)*
4 1 Per Amundsen
5
Returns properties for the specified tip.
6
7 10 Per Amundsen
_See also [[/tip]]._
8
9 1 Per Amundsen
*Parameters*
10
11 5 Per Amundsen
name/N - Tip name or If N = 0 number of open tips, otherwise the Nth tip.
12 1 Per Amundsen
13
*Properties*
14
15
.name - Tip name.
16
.title - Tip title.
17
.text - Tip text.
18
.delay - Delay in milliseconds until tip closes.
19
.iconfn - Icon file name.
20
.iconpos - Icon position.
21
.alias - Alias to be executed on double click.
22
.wid - Window id associated with this tip.
23
24 3 Per Amundsen
--------------------------
25
26 1 Per Amundsen
*$tip(name,title,text,delay,iconfn,iconpos,alias,wid)*
27
28
Allows you to create scripted tips that are independent of normal tip events. Returns Nth position of tip if it was successfully created, zero if not.
29 3 Per Amundsen
30
_Title and text can have [[Formatting_text|Control Codes]]._
31 6 Per Amundsen
32 9 Per Amundsen
_Setting the delay to 0 makes the Tip "sticky" and have to be manually closed or the main window activated. *(AdiIRC only)*_
33 7 Per Amundsen
34 6 Per Amundsen
*Example*
35
36
<pre>
37
; Create and show a Tip using the title 'title here' and the text 'text here'.
38
; Prefix with /noop to ignore the result.
39
//noop $tip(name, title here, text here)
40
41
</pre>