C# Class Schumix.Irc.Sender

Show file Open project: Schumix/Schumix2

Public Methods

Method Description
AllList ( ) : void

Request basic information for all the channels on the current network.

AllNames ( ) : void

Request a list of all visible channels along with their users. If the server allows this kind of request then expect a rather large reply.

Away ( string message ) : void

Set the user status to away and set an automatic reply to any private message.

Ban ( string channel, string name ) : void
ChangeTopic ( string channel, string newTopic ) : void

Change the topic of the given channel.

ClearTopic ( string channel ) : void

Clear the channel's topic.

HostServ ( string Mode ) : void
Invite ( string name, string channel ) : void

Invite a user to a channel.

Join ( string channel ) : void
Join ( string channel, string password ) : void
Kick ( string channel, string name ) : void
Kick ( string channel, string name, string reason ) : void
Kill ( string nick, string reason ) : void

Forcefully disconnect a user form the IRC server. This can only be used by Operators.

List ( string channel ) : void

Request basic information about a channel, i.e. number of visible users and topic.

Mode ( string channel, string status ) : void
Mode ( string channel, string status, string name ) : void
Motd ( ) : void

Request the "Message Of The Day" from the current server.

Motd ( string targetServer ) : void

Request the "Message Of The Day" from the given server.

Names ( string channel ) : void

Request a list of all nicknames on a given channel.

Nick ( string nick ) : void
NickServ ( string password ) : void

Identifies the bot with NickServ.

NickServGhost ( string ghost, string pass ) : void
NickServInfo ( string info ) : void
NickServRegister ( string password, string email ) : void

Register's the nick with NickServ.

NickServStatus ( string status ) : void
Part ( string channel ) : void

Leave the given channel.

Part ( string channel, string reason ) : void

Leave the given channel.

Pass ( string password ) : void
Ping ( string ping ) : void
Pong ( string pong ) : void
Quit ( string reason ) : void
Register ( string nickname ) : void
Register ( string nickname, string username ) : void
Register ( string nickname, string username, string realname ) : void
Register ( string nickname, string username, string realname, int modemask ) : void
RegisterConnection ( string ServerPassword, string nickname ) : void
RegisterConnection ( string ServerPassword, string nickname, string username ) : void
RegisterConnection ( string ServerPassword, string nickname, string username, string realname ) : void
RegisterConnection ( string ServerPassword, string nickname, string username, string realname, int modemask ) : void
RequestTopic ( string channel ) : void

Request the topic for the given channel.

Sender ( string ServerName ) : System
UnAway ( ) : void

Turns off the away status and the accompanying message.

Unban ( string channel, string name ) : void
User ( string username ) : void
User ( string username, string realname ) : void
User ( string username, string realname, int modemask ) : void
Whois ( string name ) : void

Method Details

AllList() public method

Request basic information for all the channels on the current network.
public AllList ( ) : void
return void

AllNames() public method

Request a list of all visible channels along with their users. If the server allows this kind of request then expect a rather large reply.
public AllNames ( ) : void
return void

Away() public method

Set the user status to away and set an automatic reply to any private message.
public Away ( string message ) : void
message string
return void

Ban() public method

public Ban ( string channel, string name ) : void
channel string
name string
return void

ChangeTopic() public method

Change the topic of the given channel.
public ChangeTopic ( string channel, string newTopic ) : void
channel string
newTopic string
return void

ClearTopic() public method

Clear the channel's topic.
public ClearTopic ( string channel ) : void
channel string
return void

HostServ() public method

public HostServ ( string Mode ) : void
Mode string
return void

Invite() public method

Invite a user to a channel.
public Invite ( string name, string channel ) : void
name string
channel string
return void

Join() public method

public Join ( string channel ) : void
channel string
return void

Join() public method

public Join ( string channel, string password ) : void
channel string
password string
return void

Kick() public method

public Kick ( string channel, string name ) : void
channel string
name string
return void

Kick() public method

public Kick ( string channel, string name, string reason ) : void
channel string
name string
reason string
return void

Kill() public method

Forcefully disconnect a user form the IRC server. This can only be used by Operators.
public Kill ( string nick, string reason ) : void
nick string
reason string
return void

List() public method

Request basic information about a channel, i.e. number of visible users and topic.
public List ( string channel ) : void
channel string
return void

Mode() public method

public Mode ( string channel, string status ) : void
channel string
status string
return void

Mode() public method

public Mode ( string channel, string status, string name ) : void
channel string
status string
name string
return void

Motd() public method

Request the "Message Of The Day" from the current server.
public Motd ( ) : void
return void

Motd() public method

Request the "Message Of The Day" from the given server.
public Motd ( string targetServer ) : void
targetServer string
return void

Names() public method

Request a list of all nicknames on a given channel.
public Names ( string channel ) : void
channel string
return void

Nick() public method

public Nick ( string nick ) : void
nick string
return void

NickServ() public method

Identifies the bot with NickServ.
public NickServ ( string password ) : void
password string /// The password for the nick ///
return void

NickServGhost() public method

public NickServGhost ( string ghost, string pass ) : void
ghost string
pass string
return void

NickServInfo() public method

public NickServInfo ( string info ) : void
info string
return void

NickServRegister() public method

Register's the nick with NickServ.
public NickServRegister ( string password, string email ) : void
password string /// The password for the nick. ///
email string /// The e-mail to which the confirmation code will be sent to. ///
return void

NickServStatus() public method

public NickServStatus ( string status ) : void
status string
return void

Part() public method

Leave the given channel.
public Part ( string channel ) : void
channel string
return void

Part() public method

Leave the given channel.
public Part ( string channel, string reason ) : void
channel string
reason string
return void

Pass() public method

public Pass ( string password ) : void
password string
return void

Ping() public method

public Ping ( string ping ) : void
ping string
return void

Pong() public method

public Pong ( string pong ) : void
pong string
return void

Quit() public method

public Quit ( string reason ) : void
reason string
return void

Register() public method

public Register ( string nickname ) : void
nickname string
return void

Register() public method

public Register ( string nickname, string username ) : void
nickname string
username string
return void

Register() public method

public Register ( string nickname, string username, string realname ) : void
nickname string
username string
realname string
return void

Register() public method

public Register ( string nickname, string username, string realname, int modemask ) : void
nickname string
username string
realname string
modemask int
return void

RegisterConnection() public method

public RegisterConnection ( string ServerPassword, string nickname ) : void
ServerPassword string
nickname string
return void

RegisterConnection() public method

public RegisterConnection ( string ServerPassword, string nickname, string username ) : void
ServerPassword string
nickname string
username string
return void

RegisterConnection() public method

public RegisterConnection ( string ServerPassword, string nickname, string username, string realname ) : void
ServerPassword string
nickname string
username string
realname string
return void

RegisterConnection() public method

public RegisterConnection ( string ServerPassword, string nickname, string username, string realname, int modemask ) : void
ServerPassword string
nickname string
username string
realname string
modemask int
return void

RequestTopic() public method

Request the topic for the given channel.
public RequestTopic ( string channel ) : void
channel string
return void

Sender() public method

public Sender ( string ServerName ) : System
ServerName string
return System

UnAway() public method

Turns off the away status and the accompanying message.
public UnAway ( ) : void
return void

Unban() public method

public Unban ( string channel, string name ) : void
channel string
name string
return void

User() public method

public User ( string username ) : void
username string
return void

User() public method

public User ( string username, string realname ) : void
username string
realname string
return void

User() public method

public User ( string username, string realname, int modemask ) : void
username string
realname string
modemask int
return void

Whois() public method

public Whois ( string name ) : void
name string
return void