Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Created August 25, 2013 14:59
Show Gist options
  • Select an option

  • Save weskerfoot/6334286 to your computer and use it in GitHub Desktop.

Select an option

Save weskerfoot/6334286 to your computer and use it in GitHub Desktop.
#! /usr/bin/python2
import xchat
from time import sleep
from threading import Thread as Thd
import Queue as Q
__module_name__ = "ts"
__module_version__ = "1"
__module_description__ = "ts"
def wat():
while True:
xchat.command("msg JetTruck ts")
print "messaged"
sleep(61)
lol = Thd(target=wat, group=None, args=(), kwargs={})
lol.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment