irc
recordsThe standard script defines a record for users and one for channels. This is the user record:
type irc_user: record { u_nick: string; # nick name u_real: string; # real name u_host: string; # client host u_channels: set[string]; # channels user is a member of u_is_operator: bool; # user is server operator u_conn: connection; }
This record represents a user inside the IRC network. The corresponding fields are:
u_nick
u_real
u_host
u_channels
u_isOp
u_conn
This is the channel record:
type irc_channel: record { c_name: string; # channel name c_users: set[string]; # users in channel c_ops: set[string]; # channel operators c_type: string; # channel type c_modes: string; # channel modes }
This record represents a channel inside the IRC network. The corresponding fields are:
c_name
c_users
c_ops
c_type
c_modes