script
Syntax
Parameters
|
Displays the list of loaded scripts. |
|
Executes the given code. |
|
Loads the given script into the memory and executes it. |
|
Unloads the given script from the memory. |
|
Unloads all the scripts. |
|
In combination with EXEC, the code will be loaded into the memory. |
|
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.
Description
Interact with the Perl engine to execute scripts.
Examples
/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}); }