Bleh, dont care. - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Python Programming Language (https://www.supportforums.net/forumdisplay.php?fid=32) +---- Thread: Bleh, dont care. (/showthread.php?tid=3024) |
Bleh, dont care. - Nyx- - 11-19-2009 I made a python script for Xchat that sets the channel mode +i(invite only), then it kicks the user you enter(word_eol[1]), pauses for 4 seconds, and then sets the channel mode -i. Its so people with Auto kick rejoin cant. But my problem is whenever I run it, it works, but it gives me this error: TypeError: ik() takes exactly 2 arguments (3 given) the only thing i can think of is because there is 2 xchat.command's in ik, but it still runs both so why even give such a lame error? Code: import xchat RE: Xchat Python Script - uber1337 - 11-19-2009 maybe its the Code: xchat.hook_command('ik', ik) |