1 2 3 4 5 6 7 8 9 10 11 12 13 |
;; The ^ makes sure the script is triggered before any other on ;TEXT event. ;; $($+(*,$me,*)) represents your nickname wrapped with two * ;around it. I.e "*Mervolic*". on ^*:text:$($+(*,$me,*)):*: { ;; Check if the active window is the target window ;(where the text has been written in)... if ($active !== $target) { ;; If it is not, print this message in the active window: echo -agt $nick said your name in $iif($chan,$chan,a query) $+ : $1- } } |