s_command Struct Reference

#include <shared.h>

Collaboration diagram for s_command:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores one command in the procedure.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 438 of file shared.h.

Public Member Functions

 s_command ()

Public Attributes

int _goto_line
 In some cases, this contains line number to jump to.
string admin_msg_mask
 For command "admin_msg": mask of recipients.
string admin_msg_message
 For command "admin_msg": the whole message.
string admin_msg_type
 For command "admin_msg": type of message.
string ban_mask
 mask for "dynamic_ban" command
string ban_prefix
 $prefix for "dynamic_ban" command should be "+" or "-"
string ban_reason
 reason for "dynamic_ban" command, or name of variable to store reason of "check_dynamic_bans" into
string bot_fullname
 In some cases, this contains bot's full name.
string bot_ident
 In some cases, this contains bot's ident.
vector< string > bot_nick
 In some cases, this contains list of bot's nicks.
bool bot_redir
 parameter of "allow_redirect" command (_bot_redir)
string botip
 Bot's IP address for "link" commnad.
string botlinktype
 Type of link (e.g. telnet) (for command "link").
string botlocalip
 Local bind IP for "link" command.
string botname
 Bot name for "link" command.
unsigned short botport
 Bot's port for "link" commnad.
string botunlinkproc
 Procedure to execute when link to bot has been broken (for command "link").
string chan_mode
 For "chan_mode" command.
string channel
 In some cases, this contains channel name (for _join && _part && _dynamic_ban && _check_dynamic_bans).
string channel_key
 For join command - +k key to channel.
int command
 Command (#define _xxx).
string exec
 In some cases, this contains declaration of function to execute (for _execute).
int group
 In some cases, this contains group of DCC host (for _dcc_server).
string label
 In some cases, this contains text label (for _goto).
string left
 contains left-hand comparsion value (for _if_match & _if_group & _if_match_case_insensitive & _if_in & if_n_in)
int line
 In some cases, this contains line number (for _goto).
string log
 In some cases, this contains message to log (for _log).
string msg_quoted
 As second parameter to commands _msgq && _noticeq.
string msg_text
 In some cases, this contains message to send.
string net_send_host
 In some cases, this contains NET SEND host (for _net_send).
string net_send_msg
 In some cases, this contains NET SEND message (for _net_send).
string nick
 parameter of "ident" command (_ident && _host), or for command "change_nick", or "check_dynamic_bans"
unsigned short port
 In some cases, this contains server port (for _irc_server && _dcc_server && _telnet_server).
int priority
 Priority for "op", "voice",...
string result
 parameter of "ident" command, storing result of "ident" command (_ident && _host && _check_dynamic_bans)
string right
 contains right-hand comparsion value (for _if_match & _if_group & _if_match_case_unsensitive & _if_in & if_n_in)
string script_channel
 channel name for script (_script)
int script_num
 number of script in conf.txt file (_script)
string script_params
 list of parameters of script (_script)
string script_type
 Type of script ("php").
string server
 In some cases, this contains server host (for _irc_server && _dcc_server && _telnet_server).
string server_type
 For dcc_server.
int sleep_secs
 parameter of "sleep" command (_sleep_)
s_smtp smtp
 In some cases, this contains SMTP data (for _smtp).
string timer_cmd
 In some cases, this contains timer command (for _timer_once && _timer_every).
string timer_name
 In some cases, this contains name of timer (for _timer_once && _timer_every).
int timer_sec
 In some cases, this contains number of seconds (for _timer_once && _timer_every).
string whom
 In some cases, this contains "whom to send message".


Constructor & Destructor Documentation

s_command::s_command  )  [inline]
 

Definition at line 884 of file shared.h.

References _goto_line, admin_msg_mask, admin_msg_message, admin_msg_type, ban_mask, ban_prefix, ban_reason, bot_fullname, bot_ident, bot_nick, bot_redir, botip, botlinktype, botlocalip, botname, botport, botunlinkproc, chan_mode, channel, channel_key, command, exec, group, label, left, line, log, msg_quoted, msg_text, net_send_host, net_send_msg, nick, port, result, right, script_channel, script_num, script_params, script_type, server, sleep_secs, timer_cmd, timer_name, timer_sec, and whom.

00885     {
00886         line=0;
00887         whom="";
00888         command=0;
00889         _goto_line=0;
00890         label="";
00891         msg_text="";
00892         msg_quoted="";
00893         ban_prefix="";
00894         ban_mask="";
00895         ban_reason="";
00896         left="";
00897         right="";
00898         timer_sec=0;
00899         timer_name="";
00900         timer_cmd="";
00901         exec="";
00902         net_send_host="";
00903         net_send_msg="";
00904         log="";
00905         channel="";
00906         channel_key="";
00907         string server="";
00908         port=0;
00909         group=0;
00910         bot_nick.clear();
00911         bot_ident="";
00912         bot_fullname="";
00913         bot_redir=false;
00914         sleep_secs=0;
00915         nick="";
00916         result="";
00917         script_type="";
00918         script_num=0;
00919         script_channel="";
00920         script_params="";
00921         botname="";
00922         botlocalip="";
00923         botip="";
00924         botport=0;
00925         //bot_remote_passwd="";
00926         botlinktype="";
00927         botunlinkproc="";
00928         chan_mode="";
00929 
00930         admin_msg_mask=admin_msg_message=admin_msg_type="";
00931     }


Member Data Documentation

int s_command::_goto_line
 

In some cases, this contains line number to jump to.

Definition at line 812 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::admin_msg_mask
 

For command "admin_msg": mask of recipients.

Definition at line 797 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::admin_msg_message
 

For command "admin_msg": the whole message.

Definition at line 798 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::admin_msg_type
 

For command "admin_msg": type of message.

Definition at line 796 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::ban_mask
 

mask for "dynamic_ban" command

Definition at line 879 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::ban_prefix
 

$prefix for "dynamic_ban" command should be "+" or "-"

Definition at line 878 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::ban_reason
 

reason for "dynamic_ban" command, or name of variable to store reason of "check_dynamic_bans" into

Definition at line 880 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::bot_fullname
 

In some cases, this contains bot's full name.

Definition at line 850 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::bot_ident
 

In some cases, this contains bot's ident.

Definition at line 849 of file shared.h.

Referenced by logic_process_line(), and s_command().

vector<string> s_command::bot_nick
 

In some cases, this contains list of bot's nicks.

Definition at line 848 of file shared.h.

Referenced by logic_process_line(), and s_command().

bool s_command::bot_redir
 

parameter of "allow_redirect" command (_bot_redir)

Definition at line 853 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::botip
 

Bot's IP address for "link" commnad.

Definition at line 870 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::botlinktype
 

Type of link (e.g. telnet) (for command "link").

Definition at line 873 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::botlocalip
 

Local bind IP for "link" command.

Definition at line 869 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::botname
 

Bot name for "link" command.

Definition at line 868 of file shared.h.

Referenced by logic_process_line(), and s_command().

unsigned short s_command::botport
 

Bot's port for "link" commnad.

Definition at line 871 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::botunlinkproc
 

Procedure to execute when link to bot has been broken (for command "link").

Definition at line 874 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::chan_mode
 

For "chan_mode" command.

Definition at line 882 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::channel
 

In some cases, this contains channel name (for _join && _part && _dynamic_ban && _check_dynamic_bans).

Definition at line 837 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::channel_key
 

For join command - +k key to channel.

Definition at line 838 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::command
 

Command (#define _xxx).

Definition at line 810 of file shared.h.

Referenced by logic_parse_proc(), logic_process_line(), and s_command().

string s_command::exec
 

In some cases, this contains declaration of function to execute (for _execute).

Definition at line 828 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::group
 

In some cases, this contains group of DCC host (for _dcc_server).

Definition at line 844 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::label
 

In some cases, this contains text label (for _goto).

Definition at line 814 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::left
 

contains left-hand comparsion value (for _if_match & _if_group & _if_match_case_insensitive & _if_in & if_n_in)

Definition at line 821 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::line
 

In some cases, this contains line number (for _goto).

Definition at line 439 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::log
 

In some cases, this contains message to log (for _log).

Definition at line 835 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::msg_quoted
 

As second parameter to commands _msgq && _noticeq.

Definition at line 817 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::msg_text
 

In some cases, this contains message to send.

Definition at line 816 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::net_send_host
 

In some cases, this contains NET SEND host (for _net_send).

Definition at line 832 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::net_send_msg
 

In some cases, this contains NET SEND message (for _net_send).

Definition at line 833 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::nick
 

parameter of "ident" command (_ident && _host), or for command "change_nick", or "check_dynamic_bans"

Definition at line 859 of file shared.h.

Referenced by logic_process_line(), and s_command().

unsigned short s_command::port
 

In some cases, this contains server port (for _irc_server && _dcc_server && _telnet_server).

Definition at line 842 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::priority
 

Priority for "op", "voice",...

Definition at line 819 of file shared.h.

Referenced by logic_process_line().

string s_command::result
 

parameter of "ident" command, storing result of "ident" command (_ident && _host && _check_dynamic_bans)

Definition at line 860 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::right
 

contains right-hand comparsion value (for _if_match & _if_group & _if_match_case_unsensitive & _if_in & if_n_in)

Definition at line 822 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::script_channel
 

channel name for script (_script)

Definition at line 865 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::script_num
 

number of script in conf.txt file (_script)

Definition at line 864 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::script_params
 

list of parameters of script (_script)

Definition at line 866 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::script_type
 

Type of script ("php").

Definition at line 863 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::server
 

In some cases, this contains server host (for _irc_server && _dcc_server && _telnet_server).

Definition at line 841 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::server_type
 

For dcc_server.

Definition at line 846 of file shared.h.

Referenced by logic_process_line().

int s_command::sleep_secs
 

parameter of "sleep" command (_sleep_)

Definition at line 856 of file shared.h.

Referenced by logic_process_line(), and s_command().

s_smtp s_command::smtp
 

In some cases, this contains SMTP data (for _smtp).

Definition at line 830 of file shared.h.

Referenced by logic_process_line().

string s_command::timer_cmd
 

In some cases, this contains timer command (for _timer_once && _timer_every).

Definition at line 826 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::timer_name
 

In some cases, this contains name of timer (for _timer_once && _timer_every).

Definition at line 825 of file shared.h.

Referenced by logic_process_line(), and s_command().

int s_command::timer_sec
 

In some cases, this contains number of seconds (for _timer_once && _timer_every).

Definition at line 824 of file shared.h.

Referenced by logic_process_line(), and s_command().

string s_command::whom
 

In some cases, this contains "whom to send message".

Definition at line 441 of file shared.h.

Referenced by logic_process_line(), and s_command().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:46 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo