[color:green];small alias to return the wnd.dll's location[/color]
[color:blue]alias wnd { return $findfile($mircdir,wnd.dll,1).shortfn }[/color]
[color:green];this is the signal used by the dll[/color]
[color:blue]on *:SIGNAL:Wnd: {[/color]
[color:green];all information sent by the dll will be echoed to
;the status window, you can replace this with whatever
;you want the script to do when an event occurs.[/color]
[color:blue] echo -s $1-
}
on ME:*:JOIN:[color:red]#channel[/color]: {[/color]
[color:green];this will 'hook' the channel window when you join it
;replace #channel with the channel name you want to keep
;open, or just use # if you want it to work on all channels.[/color]
[color:blue] dll $wnd hook $window($chan).hwnd
}[/color]