summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-23 14:14:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-23 14:14:05 +0000
commitb2a616b68fddebb3146adebae1218fe9f9d851c3 (patch)
treedb1796ba61b6511f4bb744e044b45e572092ce35
parentbd9e53a5d23979b9879e482213678f31d5c60314 (diff)
downloadirssi-b2a616b68fddebb3146adebae1218fe9f9d851c3.zip
updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@525 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--docs/manual.txt4
-rw-r--r--docs/perl.txt11
2 files changed, 8 insertions, 7 deletions
diff --git a/docs/manual.txt b/docs/manual.txt
index 839f1c64..8be536b3 100644
--- a/docs/manual.txt
+++ b/docs/manual.txt
@@ -428,8 +428,8 @@
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
<address> [<port> [<password>]]
- -auto: Automatically connect to server at startup (default)
- -noauto: Don't connect to server at startup
+ -auto: Automatically connect to server at startup
+ -noauto: Don't connect to server at startup (default)
-ircnet: Specify what IRC network this server belongs to
-host: Specify what host name to use, if you have multiple
-cmdspeed: Same as /SET cmd_queue_speed, see section 3.1
diff --git a/docs/perl.txt b/docs/perl.txt
index 9f702354..dfe9d4e4 100644
--- a/docs/perl.txt
+++ b/docs/perl.txt
@@ -1,6 +1,8 @@
Running Perl scripts
--------------------
+FIXME: part of this file is out of date..
+
Place new scripts to ~/.irssi/scripts/, or /usr/lib/irssi/scripts/
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
@@ -92,15 +94,14 @@ Commands that don't have the Xxxx prefix are called as Irssi::command();
*** General
-Channel cur_channel() - return current channel
-Server cur_server() - return current server
+Window active_win() - return current window
+Server active_server() - return current server
channels() - return list of all channels
servers() - return list of all servers
commands() - return list of all commands
dccs() - return list of all dcc connections
logs() - return list of all log files
-plugins() - return list of all plugins
print(str)
Print `str' to current window as "Irssi notice".
@@ -228,8 +229,8 @@ Server::values()
"connection_lost" - Did we lose the connection (1) or was
the connection meant to be disconnected (0)
Example:
- %server_info = %{Irssi::cur_server->values()};
- Irssi::print("Current server = ".$server_info{'address'});
+ $server_info = Irssi::active_server->values();
+ Irssi::print("Current server = ".$server_info->{'address'});
Server Connect::connect()
Connect to server.