-
Notifications
You must be signed in to change notification settings - Fork 5
Script
ailin-nemui edited this page Jan 23, 2014
·
21 revisions
home | Irssi
Script->{}
name - the name of the script
package - package which the script is loaded into, Irssi::Script::X
path - path to the script file?
data - unknown?
The Data::Dumper output of the arguments passed to a "script error"
signal handler, which is apparently the only way to obtain an Irssi::Script object via the API. See [[script error|signals#Perl_Scripting]]
in Signals for further details.
$VAR1 = bless( {
'_irssi' => 4305562640,
'name' => 'error',
'data' => '',
'path' => '/home/shabble/irssi-stuff/scripts/error.pl',
'package' => 'Irssi::Script::error'
}, 'main::Irssi::Script' );
$VAR2 = 'Oh noes, I broke! at /home/shabble/irssi-stuff/scripts/error.pl line 15.';
None
Much of the content on these pages is taken from original Irssi documentation and is Copyright © 2000-2010 The Irssi project. Formatting and additional documentation, examples, etc by Tom Feist and the other editors of this wiki. This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. Please see http://creativecommons.org/licenses/by-sa/2.5/ for details.