import xchat
__module_name__ = 'hug'
__module_version__ = '0.1'
__module_description__ = 'add a /hug'

def hug_cb(word, word_eol, userdata): 
	xchat.command( "ME hugs %s" % word_eol[1] )
	return xchat.EAT_ALL

xchat.hook_command("hug", hug_cb)
