egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bind on click

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
COBRa
Halfop


Joined: 04 Jan 2013
Posts: 49

PostPosted: Thu Apr 21, 2016 12:08 pm    Post subject: Bind on click Reply with quote

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

The bind is
Code:
bind pub - !nfo dupe:nfo


and the line is
Code:
if {$nfo_check != 0} { set nfo "${bopen}\00311NFO\003${bclose}" }


many thanks
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Apr 21, 2016 2:44 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber