git-svn-id: http://svn.irssi.org/repos/irssi/trunk@525 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-23 14:14:05 +00:00 committed by cras
parent bd9e53a5d2
commit b2a616b68f
2 changed files with 8 additions and 7 deletions

View File

@ -428,8 +428,8 @@
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>] [-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
<address> [<port> [<password>]] <address> [<port> [<password>]]
-auto: Automatically connect to server at startup (default) -auto: Automatically connect to server at startup
-noauto: Don't connect to server at startup -noauto: Don't connect to server at startup (default)
-ircnet: Specify what IRC network this server belongs to -ircnet: Specify what IRC network this server belongs to
-host: Specify what host name to use, if you have multiple -host: Specify what host name to use, if you have multiple
-cmdspeed: Same as /SET cmd_queue_speed, see section 3.1 -cmdspeed: Same as /SET cmd_queue_speed, see section 3.1

View File

@ -1,6 +1,8 @@
Running Perl scripts Running Perl scripts
-------------------- --------------------
FIXME: part of this file is out of date..
Place new scripts to ~/.irssi/scripts/, or /usr/lib/irssi/scripts/ Place new scripts to ~/.irssi/scripts/, or /usr/lib/irssi/scripts/
directory and run then with /RUN script. Or you could also run the directory and run then with /RUN script. Or you could also run the
script from another place by specifying the whole path to it. Scripts script from another place by specifying the whole path to it. Scripts
@ -92,15 +94,14 @@ Commands that don't have the Xxxx prefix are called as Irssi::command();
*** General *** General
Channel cur_channel() - return current channel Window active_win() - return current window
Server cur_server() - return current server Server active_server() - return current server
channels() - return list of all channels channels() - return list of all channels
servers() - return list of all servers servers() - return list of all servers
commands() - return list of all commands commands() - return list of all commands
dccs() - return list of all dcc connections dccs() - return list of all dcc connections
logs() - return list of all log files logs() - return list of all log files
plugins() - return list of all plugins
print(str) print(str)
Print `str' to current window as "Irssi notice". Print `str' to current window as "Irssi notice".
@ -228,8 +229,8 @@ Server::values()
"connection_lost" - Did we lose the connection (1) or was "connection_lost" - Did we lose the connection (1) or was
the connection meant to be disconnected (0) the connection meant to be disconnected (0)
Example: Example:
%server_info = %{Irssi::cur_server->values()}; $server_info = Irssi::active_server->values();
Irssi::print("Current server = ".$server_info{'address'}); Irssi::print("Current server = ".$server_info->{'address'});
Server Connect::connect() Server Connect::connect()
Connect to server. Connect to server.