Xchat Auto Join

This is a very simple script, which automatically joins the channel again after you were being kicked.

Place this in the .xchat2 folder.

Download Download script as zip

Tag Tags: irc xchat python

Source

  • auto_join.py
  1. #
  2. # Auto join after kick Xchat script
  3. #
  4. # This script auto joins the channel after you get kicked.
  5. #
  6. # Created by Lucas van Dijk
  7. # www.return1.net
  8. #
  9.  
  10. __module_name__ = "Auto Join"
  11. __module_version__ = "0.1"
  12. __module_description__ = "Automaticly join a channel after you get kicked."
  13.  
  14. import xchat
  15.  
  16. def on_kick(word, word_eol, userdata):
  17.     xchat.command("join %s" % (word[1]))
  18.    
  19. xchat.hook_print("You Kicked", on_kick);
  20. xchat.prnt("Auto Joiner succesfully loaded");