PHP 클래스 Phergie_Plugin_NickServ, phergie

The password configuration setting should contain the password registered with NickServ for the nick used by the bot.
저자: Phergie Development Team ([email protected])
상속: extends Phergie_Plugin_Abstract
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$botNick string Nick of the NickServ bot
$identifyMessage Identify message

공개 메소드들

메소드 설명
onCommandGhostbust ( ) : void Provides a command to terminate ghost connections.
onKill ( ) : void Handle the server sending a KILL request.
onLoad ( ) : void Checks for dependencies and required configuration settings.
onNick ( ) : void Changes the in-memory configuration setting for the bot nick if it is successfully changed.
onNotice ( ) : void Checks for a notice from NickServ and responds accordingly if it is an authentication request or a notice that a ghost connection has been killed.
onQuit ( ) : void Checks to see if the original nick has quit; if so, take the name back.
onResponse ( ) : void Automatically send the GHOST command if the bot's nick is in use.

메소드 상세

onCommandGhostbust() 공개 메소드

Provides a command to terminate ghost connections.
public onCommandGhostbust ( ) : void
리턴 void

onKill() 공개 메소드

Handle the server sending a KILL request.
public onKill ( ) : void
리턴 void

onLoad() 공개 메소드

Checks for dependencies and required configuration settings.
public onLoad ( ) : void
리턴 void

onNick() 공개 메소드

Changes the in-memory configuration setting for the bot nick if it is successfully changed.
public onNick ( ) : void
리턴 void

onNotice() 공개 메소드

Checks for a notice from NickServ and responds accordingly if it is an authentication request or a notice that a ghost connection has been killed.
public onNotice ( ) : void
리턴 void

onQuit() 공개 메소드

Checks to see if the original nick has quit; if so, take the name back.
public onQuit ( ) : void
리턴 void

onResponse() 공개 메소드

Automatically send the GHOST command if the bot's nick is in use.
public onResponse ( ) : void
리턴 void

프로퍼티 상세

$botNick 보호되어 있는 프로퍼티

Nick of the NickServ bot
protected string $botNick
리턴 string

$identifyMessage 보호되어 있는 프로퍼티

Identify message
protected $identifyMessage