From fff5217f02d91268ce90c8c05665602c059faaef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:18:39 +0200 Subject: Adding upstream version 1.4.5. Signed-off-by: Daniel Baumann --- docs/help/script | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/help/script (limited to 'docs/help/script') diff --git a/docs/help/script b/docs/help/script new file mode 100644 index 0000000..1c562df --- /dev/null +++ b/docs/help/script @@ -0,0 +1,33 @@ + +%9Syntax:%9 + + +%9Parameters:%9 + + LIST: Displays the list of loaded scripts. + EXEC: Executes the given code. + LOAD: Loads the given script into the memory and executes it. + UNLOAD: Unloads the given script from the memory. + RESET: Unloads all the scripts. + -permanent: In combination with EXEC, the code will be loaded into the + memory. + -autorun: When passed to RESET the scripts in the autorun folder are + reloaded. + + If no argument is given, the list of active scripts will be displayed. + +%9Description:%9 + + Interact with the Perl engine to execute scripts. + +%9Examples:%9 + + /SCRIPT + /SCRIPT LIST + /SCRIPT LOAD ~/.irssi/scripts/nickserv.pl + /SCRIPT UNLOAD nickserv + /SCRIPT RESET + /SCRIPT EXEC foreach my $channel (Irssi::channels()) { Irssi::print($channel->{name} . ' @ ' . $channel->{server}->{tag}); } + +%9See also:%9 LOAD, SAVE, UNLOAD + -- cgit v1.2.3