La loi DADVSI n'est pas passée ?
On a découvert un remède contre le cancer ?
C'est la paix dans le monde ?
Journal Mais pourquoi ils gueulent partout comme ça ?
1
juil.
2006



#!/usr/bin/python
# -*- coding: utf-8 -*-
import xchat
__module_name__ = "pyid"
__module_version__ = "0.1"
__module_description__ = "Python module identify for freenode , /id nick password"
def id(word, word_eol, userdata):
if len(word) < 2:
print 'Usage : /id '
else:
if xchat.get_info("nick") == word[1]:
pass
else:
xchat.command('msg nickserv ghost '+word[1]+' '+word[2])
xchat.command('nick '+word[1])
xchat.command('msg nickserv identify '+word[2])
return xchat.EAT_ALL
xchat.hook_command("id", id, help="/id ")



