-
Notifications
You must be signed in to change notification settings - Fork 6
Server
Irssi::Server
Server->{}
type - "SERVER" text
chat_type - String ID of chat protocol, for example "IRC"
(..contains all the same data as Connect above..)
connect_time - Time when connect() to server finished
real_connect_time - Time when server sent "connected" message
tag - Unique server tag
nick - Current nick
connected - Is connection finished? 1|0
connection_lost - Did we lose the connection (1) or was
the connection just /DISCONNECTed (0)
rawlog - Rawlog object for the server
version - Server version
last_invite - Last channel we were invited to
server_operator - Are we server operator (IRC op) 1|0
usermode_away - Are we marked as away? 1|0
away_reason - Away reason message
banned - Were we banned from this server? 1|0
lag - Current lag to server in milliseconds
- return list of channels in server
Return list of queries in server
Run the specified command on this server instance.
TODO: What is Connect::
package?
Connect to server. returns Irssi::Server object.
Disconnect from server.
Find server with tag. Returns Irssi::Server
Find first server that is in `chatnet' returns Irssi::Server
Returns 1 if flag is a nick mode flag (@
, +
or %
in IRC)
Returns 1 if start of `data' seems to mean channel.
Returns nick flag characters in order: op, voice, halfop ("@+%"
in IRC).
Sends a message to nick/channel. target_type 0 = channel, 1 = nick
Check if nick!address is on the other side of netsplit. Netsplit records are automatically removed after 30 minutes (current default)..
returns Irssi::Irc::Netsplit
Find nick record for nick!address in channel `channel'. returns Irssi::Nick
Find channel from specified server. Returns Irssi::Channel
Return 1 if ignoring matched.
Return all nick objects in all channels in server. List is in format:
Channel, Nick, Channel, ...
Much of the content on these pages is taken from original Irssi documentation and is Copyright © 2000-2010 The Irssi project. Formatting and additional documentation, examples, etc by Tom Feist and the other editors of this wiki. This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. Please see http://creativecommons.org/licenses/by-sa/2.5/ for details.