diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
commit | fff5217f02d91268ce90c8c05665602c059faaef (patch) | |
tree | 2ba24d32dc96eafe7ed0a85269548e76796d849d /docs/help/in/script.in | |
parent | Initial commit. (diff) | |
download | irssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip |
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | docs/help/in/script.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/help/in/script.in b/docs/help/in/script.in new file mode 100644 index 0000000..e90135a --- /dev/null +++ b/docs/help/in/script.in @@ -0,0 +1,34 @@ + +%9Syntax:%9 + +@SYNTAX:script@ + +%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 + |