EvilZone
Programming and Scripting => Beginner's Corner => : Spacecow February 09, 2015, 02:51:51 AM
-
Shoe.py - A Hexchat plugin for punishing stupidity
Simply save the code as a .py file and load in hexchat for tons of shoe smacking fun!
To give it a try: /shoe HTH
Now what are you waiting for, go out there and show off your new superpowers!!
#!/usr/bin/env python
import hexchat
__module_name__ = "de_shoe"
__module_version__ = "0.1"
__module_description__ = "Didn't I tell you being dumb was going to start hurting from now on?"
def de_shoe(word, word_eol, userdata):
"""I don't take nothing but designer drugs. -Gucci Mane"""
if len(word) < 2:
print("Must give nickname as argument!")
else:
hexchat.command("ME hits {0} with a shoe.".format(word_eol[1].rstrip()))
return hexchat.EAT_ALL
hexchat.hook_command("SHOE", de_shoe, help="/SHOE <USER> Punishes a user for his stupidity.")
-
To give it a try: /shoe HTH
you are both my favorite and least favorite person in this community
-
I was making xchat/hexchat scripts BEFORE it was cool. One being very similar: https://evilzone.org/evilzone-releases/%28xchat-script%29-slapper-v1-2/
-
I was making xchat/hexchat scripts BEFORE it was cool. One being very similar: https://evilzone.org/evilzone-releases/%28xchat-script%29-slapper-v1-2/
It's still not cool my nigga