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.
Help for those learning Tcl or writing their own scripts.
Online
-
CrazyCat
- Revered One
- Posts: 1303
- Joined: Sun Jan 13, 2002 8:00 pm
- Location: France
-
Contact:
Post
by CrazyCat »
Hi there,
I want to use the away-notify in a script, so I use:
Code: Select all
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 ?
-
kisser
- Voice
- Posts: 7
- Joined: Sat Feb 20, 2010 3:24 am
Post
by kisser »
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°•
Online
-
CrazyCat
- Revered One
- Posts: 1303
- Joined: Sun Jan 13, 2002 8:00 pm
- Location: France
-
Contact:
Post
by CrazyCat »
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.