I'd like the ability to have some performs (in the perform module) to wait a certain amount of time before executing. Mainly, I have some commands that need to be executed after channel joins, but perform executes before channels are joined. A wait period would help.
I'd like the ability to have some performs (in the perform module) to wait a certain amount of time before executing. Mainly, I have some commands that need to be executed after channel joins, but perform executes before channels are joined. A wait period would help.
<!-- github-sync-id:5951199 -->
Wait period won't help. Never rely on time, if you need to wait for the channel join instead.
Just write a module and use OnJoin() hook.
Or, if you really want to wait some time, there is http://code.google.com/p/znc-msvc/source/browse/trunk/main/znc-msvc/modules/extra_win32/timed_perform.cpp
<!-- github-comment-id:7408477 -->
I'd like to suggest re-opening this issue. I want to perform commands which join me to a channel only after I have identified with nickserv. Only way to do this is guess the time it takes for that to occur, or for perform to act on the identified event. Thoughts?
I'd like to suggest re-opening this issue. I want to perform commands which join me to a channel only after I have identified with nickserv. Only way to do this is guess the time it takes for that to occur, or for perform to act on the identified event. Thoughts?
<!-- github-comment-id:32049415 -->
@deed02392 Use the SASL module to authenticate to NickServ. SASL negotiation happens before any joins and it's a much cleaner approach.
http://wiki.znc.in/Sasl
<!-- github-comment-id:32060167 -->
@kylef on debian I have installed the packages znc and znc-extra, but apparently I can't load the sasl module. Do I need to compile znc from source to make it work on debian? I thought as per wiki that such module was included already.
@kylef on debian I have installed the packages znc and znc-extra, but apparently I can't load the sasl module. Do I need to compile znc from source to make it work on debian? I thought as per wiki that such module was included already.
<!-- github-comment-id:39436124 -->
Debian uses ancient znc versions.
Please try this PPA if you don't want to compile yourself: https://launchpad.net/~teward/+archive/znc
For custom module, you can usually use znc-buildmod, however, you really should upgrade your znc installation.
Debian uses ancient znc versions.
Please try this PPA if you don't want to compile yourself: https://launchpad.net/~teward/+archive/znc
For custom module, you can usually use `znc-buildmod`, however, you really should upgrade your znc installation.
<!-- github-comment-id:39442045 -->
@Nothing4You thanks for the infos, I forgot to specify that I'm on armhf architecture (raspberry pi). It seems like that ppa has no binaries for it.
@Nothing4You thanks for the infos, I forgot to specify that I'm on armhf architecture (raspberry pi). It seems like that ppa has no binaries for it.
<!-- github-comment-id:39444713 -->
@slabua You have some amazing exploits. Upgrade NOW!
You can always compile znc from a tarball for your raspberry pi.
http://wiki.znc.in/Installation
<!-- github-comment-id:39446162 -->
What if the server doesn't support sasl? Isn't there any other way to execute perform after identifying with nickserv?
What if the server doesn't support sasl? Isn't there any other way to execute perform after identifying with nickserv?
<!-- github-comment-id:55981733 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I'd like the ability to have some performs (in the perform module) to wait a certain amount of time before executing. Mainly, I have some commands that need to be executed after channel joins, but perform executes before channels are joined. A wait period would help.
Wait period won't help. Never rely on time, if you need to wait for the channel join instead.
Just write a module and use OnJoin() hook.
Or, if you really want to wait some time, there is http://code.google.com/p/znc-msvc/source/browse/trunk/main/znc-msvc/modules/extra_win32/timed_perform.cpp
Another hack: Add "join #foo" to your perform
I'd like to suggest re-opening this issue. I want to perform commands which join me to a channel only after I have identified with nickserv. Only way to do this is guess the time it takes for that to occur, or for perform to act on the identified event. Thoughts?
@deed02392 Use the SASL module to authenticate to NickServ. SASL negotiation happens before any joins and it's a much cleaner approach.
http://wiki.znc.in/Sasl
Sounds perfect, thanks for the suggestion.
@kylef on debian I have installed the packages znc and znc-extra, but apparently I can't load the sasl module. Do I need to compile znc from source to make it work on debian? I thought as per wiki that such module was included already.
Debian uses ancient znc versions.
Please try this PPA if you don't want to compile yourself: https://launchpad.net/~teward/+archive/znc
For custom module, you can usually use
znc-buildmod, however, you really should upgrade your znc installation.@Nothing4You thanks for the infos, I forgot to specify that I'm on armhf architecture (raspberry pi). It seems like that ppa has no binaries for it.
@slabua You have some amazing exploits. Upgrade NOW!
You can always compile znc from a tarball for your raspberry pi.
http://wiki.znc.in/Installation
@KindOne- thank you, compiled succesfully.
What if the server doesn't support sasl? Isn't there any other way to execute perform after identifying with nickserv?
Cert might be supported.
@DarthGandalf Is there an updated version of timed_perform module found anywhere ?
@ne0ark I'm not aware of any updated version of it.