Project

General

Profile

$tip » History » Revision 8

Revision 7 (Per Amundsen, 02/05/2019 12:51 AM) → Revision 8/12 (Per Amundsen, 02/05/2019 12:51 AM)

_Added in 1.9.3_ 

 *$tip(name/N)* 

 Returns properties for the specified tip. 

 *Parameters* 

 name/N - Tip name or If N = 0 number of open tips, otherwise the Nth tip. 

 *Properties* 

 .name - Tip name. 
 .title - Tip title. 
 .text - Tip text. 
 .delay - Delay in milliseconds until tip closes. 
 .iconfn - Icon file name. 
 .iconpos - Icon position. 
 .alias - Alias to be executed on double click. 
 .wid - Window id associated with this tip. 

 -------------------------- 

 *$tip(name,title,text,delay,iconfn,iconpos,alias,wid)* 

 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. 

 _Title and text can have [[Formatting_text|Control Codes]]._ 

 _Setting the delay to 0 makes the Tip "sticky" and have to be manually closed or the main window activated. closed. (AdiIRC only)_ 

 *Example* 

 <pre> 
 ; Create and show a Tip using the title 'title here' and the text 'text here'. 
 ; Prefix with /noop to ignore the result. 
 //noop $tip(name, title here, text here) 

 </pre>