| View previous topic :: View next topic |
| Author |
Message |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Tue Jul 27, 2021 11:44 am Post subject: best way to use irc cap ? |
|
|
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 |
|
 |
kisser Voice
Joined: 20 Feb 2010 Posts: 7
|
Posted: Fri Aug 27, 2021 6:38 pm Post subject: |
|
|
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 |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Fri Aug 27, 2021 7:45 pm Post subject: |
|
|
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 |
|
 |
|