PHP Class Phergie_Plugin_NickServ, phergie

The password configuration setting should contain the password registered with NickServ for the nick used by the bot.
Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Protected Properties

Property Type Description
$botNick string Nick of the NickServ bot
$identifyMessage Identify message

Public Methods

Method Description
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.

Method Details

onCommandGhostbust() public method

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

onKill() public method

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

onLoad() public method

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

onNick() public method

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

onNotice() public method

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
return void

onQuit() public method

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

onResponse() public method

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

Property Details

$botNick protected property

Nick of the NickServ bot
protected string $botNick
return string

$identifyMessage protected property

Identify message
protected $identifyMessage