mIRC Home    About    Download    Register    News    Help

Print Thread
#183840 23/08/07 12:13 AM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
Seeing how $activewid and $lactivewid got added a few versions ago, how 'bout a $targetwid?


What do you do at the end of the world? Are you busy? Will you save us?
Jigsy #183843 23/08/07 12:22 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
That would return what exactly?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
qwerty #183845 23/08/07 12:23 AM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
Target window id?

Code:
Example:

on *:something:*:{ noop $tip($ctime,Title:,Text ...,,,,noop,$targetwid) }


What do you do at the end of the world? Are you busy? Will you save us?
Jigsy #183846 23/08/07 12:29 AM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Would be a nice shortcut for $window($target).wid

Jigsy #183847 23/08/07 12:29 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Target of what? If you're thinking $target, keep in mind that $target comes directly from the server message, so it doesn't necessarily refer to a window (eg in incoming private messages $target is $me). If you want the wid of a window you can always use $chan(..).wid, $query(...).wid, $window(...).wid etc.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard