Changeset 24356 for lang

Show
Ignore:
Timestamp:
11/20/08 00:22:08 (5 years ago)
Author:
topia
Message:

explain command configuration.
small style fix.
change sample 'channel'.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/tiarra/trunk/module/Auto/Outputz.pm

    r24336 r24356  
    66use warnings; 
    77use base qw(Module); 
     8use Multicast; 
    89use Module::Use qw(Auto::AliasDB Tools::HTTPClient Auto::Utils); 
    910use Auto::AliasDB; 
     
    8182        if (Mask::match($ch->[1],$channel)) { 
    8283            my $name = Tools::HashTools::replace_recursive( 
    83                 $ch->[0], [{channel => $this->_mangle_string($channel), 
    84                             channel_short => $this->_mangle_string($chan_short), 
    85                             network => $this->_mangle_string($network)}]); 
     84                $ch->[0], [{ 
     85                    channel => $this->_mangle_string($channel), 
     86                    channel_short => $this->_mangle_string($chan_short), 
     87                    network => $this->_mangle_string($network)}]); 
    8688 
    8789            $this->{matching_cache}->{$channel} = $name; 
     
    143145key: some secret 
    144146 
     147# 送信対象にするコマンドの設定。 
     148# 省略された場合は PRIVMSG 。 
     149# パラメータ1が送信先、パラメータ2が本文でなければ動作しないので、 
     150# 動作するコマンドは PRIVMSG/NOTICE/TOPIC/PART 程度。 
     151-command: PRIVMSG 
     152 
    145153# 各チャンネルのURIの設定。 
    146154# 記述された順序で検索されるので、全てのチャンネルにマッチする"*"などは最後に書かなければならない。 
     
    150158# チャンネル名に、 #(network) はネットワーク名にそれぞれ置き換えられる。 
    151159# また、危険な文字は自動的にエスケープされる。 
    152 channel: http://irc.example.com/#(network)/#(channel_short) * 
     160channel: http://#(network).irc.example.com/#(channel_short) * 
    153161 
    154162=cut