Skip to content

Instantly share code, notes, and snippets.

@osantana
Created January 6, 2023 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osantana/e96563412b1a1b5a111ec22308bf7d85 to your computer and use it in GitHub Desktop.
Save osantana/e96563412b1a1b5a111ec22308bf7d85 to your computer and use it in GitHub Desktop.
import xchat
__module_name__ = "* epx L"
__module_version__ = "0.1.0"
__module_description__ = "Ensina como usar /clear"
def clear_cb(word, word_eol, userdata):
ctx = xchat.get_context()
ctx.command("me acha que limpar a tela eh para os fracos!")
return xchat.EAT_ALL
xchat.hook_command("clear", clear_cb, help="Usage: CLEAR, Clears the current text window")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment