__module_name__ = "wallopmove" __module_version__ = "0.1" __module_description__ = "Moves wallops to server window" import xchat def dispwallop(word, word_eol, userdata): SERVER = xchat.get_info("network") disp = xchat.find_context(server='%s' % SERVER, channel='%s' % SERVER) disp.emit_print("Notice",'%s/Wallops' % word[0],'%s' % word[1]) return xchat.EAT_ALL xchat.hook_print("Receive Wallops", dispwallop)