Skip to content
MSN

windows & clicks help

A TG007 community discussion started by DreaM.

Discussion 3 posts
Page 1 of 1
Open
Topic #2399 · 3 published posts · 513 views

hi guys, another question

 

I used this:

 

on *:dialog:*click:*:{ if ($dname != DialogName) { echo -a blah } }

 

I need my script to echo when I click by the mouse anywhere except in specified dialog (DialogName).

 

The problem is when I click by mouse in the chat window for example, It does not work because I am using on *:dialog: so it is for dialogs only but I need it work when I click by mouse anywhere except my dialogname ??

on *:active:#: { command here } <- does command on any click in a chan window

 

on *:active:*: { command here } <- does command in any window

My code does NOT have bugs. It just develops random features.

ok ozzy sorry my question was not clear. your post worked when I change windows only yes but when I click the chat window its self on any nickname for example it does not do anything.

 

My problem is : I have a list and I want the following:

 

when the $did(1)..... in the list is highlighted { do blah }
when mouse clicks anything else except this list in the dialog (sure the $did will not be highligted) { do blah2 }

 

is it possible?