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 

best way to use irc cap ?

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


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Tue Jul 27, 2021 11:44 am    Post subject: best way to use irc cap ? Reply with quote

Hi there,

I want to use the away-notify in a script, so I use:
Code:
if {[string match -nocase *away-notify* [cap ls]} {
   cap req away-notify
   bind ircaway - * wlcaway
}


Do you think there is a better way to do that ? And is it usefull to check if it is already requested ?
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
kisser
Voice


Joined: 20 Feb 2010
Posts: 7

PostPosted: Fri Aug 27, 2021 6:38 pm    Post subject: Reply with quote

well you can use
bind raw - 301 procname
remember you have to make the bot whois the user to be able to see it
_________________
•°o.O Wµ¥ ƒîgµT tø LìvÈ µøm¥ îƒ wÊ Øñ£ÿ £îvìñ tÕ ÐïÊ O.o°•
Back to top
View user's profile Send private message MSN Messenger
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Fri Aug 27, 2021 7:45 pm    Post subject: Reply with quote

This is not the question I asked.
I just want to know if there is a better way to check if away-notify is enable than the one I use.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
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