You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
on freenode, i have soe channels that are +r and part of my autojoin. Those channels always fail to join on startup since the identification takes a little while.
hex chat should probably wait to be identified before trying to join.
someone told me that xchat had a setting for this but i didn't verified.
i created myself a small plugin:
importhexchatimportthreading__module_name__="keepjoin"__module_version__="1.0"__module_description__="keeping you in the channels that you want to stay in"defkeepjoin():
isInProgrammeur=Falseforchaninhexchat.get_list('channels'):
attrs=vars(chan)
#print ', '.join("%s: %s" % item for item in attrs.items())#print chan.channelifchan.channel=="#programmeur":
isInProgrammeur=TrueifisInProgrammeur==False:
hexchat.command("join #programmeur")
myhook=Nonedefstop_cb(word, word_eol, userdata):
globalmyhookifmyhookisnotNone:
hexchat.unhook(myhook)
myhook=Noneprint("Timeout removed!")
deftimeout_cb(userdata):
#print("Annoying message every 5 seconds! Type /STOP to stop it.")keepjoin()
return1# Keep the timeout goingmyhook=hexchat.hook_timer(5000, timeout_cb)
hexchat.hook_command("STOP", stop_cb)
The text was updated successfully, but these errors were encountered:
If you want to be very specific about your join times, then you could probably just hook the NOTICE event where NickServ says that you are now identified for , then issue the command for joining the +r channels.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
on freenode, i have soe channels that are +r and part of my autojoin. Those channels always fail to join on startup since the identification takes a little while.
hex chat should probably wait to be identified before trying to join.
someone told me that xchat had a setting for this but i didn't verified.
i created myself a small plugin:
The text was updated successfully, but these errors were encountered: