diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-16 09:49:50 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-16 09:49:50 -0500 |
| commit | c1e9a2441a8437f4ff2e7ca84fd3151e59f1a5d2 (patch) | |
| tree | 1c80235406423d7ea97bf2d612f6c7fc9246de5d | |
| parent | 6482cc545dd0f6a91fab6d4339e15f49b5841804 (diff) | |
loggin stuff
| -rwxr-xr-x | xdcc.pl | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -55,7 +55,7 @@ Irssi::theme_register([ 'xdcc_request', '%R>>%n %_XDCC:%_ Sending the file %_$1%_ to %_$0%_', 'xdcc_print', '$[!-2]0 $[20]1 $2', - 'xdcc_sending_file', '[%_XDCC:%_] Sending the file %_$1%_ to %_$0%_', + 'xdcc_sending_file', '[%_XDCC:%_] Sending the file [$0] %_$2%_ to %_$1%_', 'xdcc_no_files', '[%_XDCC:%_] No files offered', 'xdcc_print_file', '[%_XDCC:%_] [%_$0%_] %_$1%_ ... %_$2%_', 'xdcc_queue_empty', '[%_XDCC:%_] The queue is currently empty', @@ -65,6 +65,7 @@ Irssi::theme_register([ 'xdcc_added_file', '[%_XDCC:%_] Added [$0] $1', 'xdcc_removed_file', '[%_XDCC:%_] Removed [$0] $1', 'xdcc_reset', '[%_XDCC:%_] Reset!', + 'xdcc_log', '[%_XDCC:%_] $0', 'xdcc_help', '$0', 'loaded', '%R>>%n %_Scriptinfo:%_ Loaded $0 version $1 by $2.' @@ -253,19 +254,19 @@ sub xdcc { else { xdcc_report() } } sub dcc_created { - Irssi::print(MSGLEVEL_CLIENTCRAP, '[xdcc] dcc created'); + Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_log', 'dcc created'); } sub dcc_destroyed { - Irssi::print(MSGLEVEL_CLIENTCRAP, '[xdcc] dcc destroyed'); + Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_log', 'dcc destroyed'); } sub dcc_connected { - Irssi::print(MSGLEVEL_CLIENTCRAP, '[xdcc] dcc connected'); + Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_log', 'dcc connected'); } sub dcc_rejecting { - Irssi::print(MSGLEVEL_CLIENTCRAP, '[xdcc] dcc rejecting'); + Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_log', 'dcc rejecting'); } sub dcc_closed { - Irssi::print(MSGLEVEL_CLIENTCRAP, '[xdcc] dcc closed'); + Irssi::printformat(MSGLEVEL_CLIENTCRAP, 'xdcc_log', 'dcc closed'); } # listen for xdcc end/cancel/close |
