# -*- coding: iso-8859-15 -*- __module_name__ = "GetXChat Path" __module_version__ = "1.0" __module_description__ = "Affiche le répertoire de config d'XChat" __module_author__ = "Xn - dev@0x586e.info" import xchat def getpath_cb(word,word_eol,userdata): xchat.prnt("Votre répertoire de configuration : " + xchat.get_info('xchatdir')) return xchat.EAT_ALL xchat.hook_command('getpath',getpath_cb,help="Retourne le répertoire de config d'XChat") xchat.prnt("/* Tapez /getpath pour trouver votre répertoire de configuration */")