This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Bind on click

Help for those learning Tcl or writing their own scripts.
Post Reply
C
COBRa
Halfop
Posts: 49
Joined: Fri Jan 04, 2013 8:23 am

Bind on click

Post by COBRa »

Is it possible to have this bind actioned when clicking the word NFO ?

The bind is

Code: Select all

bind pub - !nfo dupe:nfo
and the line is

Code: Select all

if {$nfo_check != 0} { set nfo "${bopen}\00311NFO\003${bclose}" }
many thanks
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Hi,
Bindings can only trigger on messages/events sent to your eggdrop. There is no way for your eggdrop to know whether a user clicks on a link or anything like that.

I suppose someone could write a script for some irc clients, that would send "!nfo" to your eggdrop (thus triggering the bind) based on mouse events, but that would only work for those clients using said script...
NML_375
Post Reply