Identification automatique
#1
On demande souvent un script d'identification automatique sur les services Anope... Voici ce que j'utilise:
tcl
# CONFIGURATION
set nickserv "nickserv"; # Nick du NickServ
set pass "monpass"; # Pass du nick
 
bind evnt - "init-server" evnt:init_server
proc evnt:init_server {type} {
   global botnick nickserv pass username
   putserv "MODE $botnick +iB-ws"
   if {$botnick!=$username} {
      putquick "PRIVMSG $nickserv :GHOST $username $pass"
   }
   putquick "PRIVMSG $nickserv :IDENTIFY $pass"
   return 0
}
 
bind notc - "*IDENTIFY*" init:ident
proc init:ident {nick uhost handle text {dest ""}} {
   global botnick nickserv pass 
   if {$dest == ""} {
      set dest $botnick
   }
   putserv "PRIVMSG $nickserv :identify $pass"
   return 0
}
putlog "Initialization loaded"


Répondre


Messages dans ce sujet
Identification automatique - par CrazyCat - 23/04/2008, 11:56
RE: Identification automatique - par CrazyCat - 23/04/2008, 13:39
RE: Identification automatique - par N3bIlIm - 06/06/2008, 14:27
RE: Identification automatique - par Merwin - 06/06/2008, 20:16
RE: Identification automatique - par CrazyCat - 06/06/2008, 21:45
RE: Identification automatique - par beni - 22/06/2008, 13:48
RE: Identification automatique - par beni - 22/06/2008, 13:53
RE: Identification automatique - par BdS - 23/06/2008, 10:17

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté