Ignore:
Timestamp:
Jan 16, 2006 9:48:56 AM (13 years ago)
Author:
tereutes
Message:

bug des @arg[x..y]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irpg/trunk/bot/bot.v3.1.2.pl

    r1467 r1469  
    589589                        chanmsg(sprintf(gettext("Welcome %s\'s new player %s, ".
    590590            "the %s! Next level in %s."),
    591           $usernick,$arg[4], "".(@arg[6..$#arg]),
     591          $usernick,$arg[4], join(" ",(@arg[6..$#arg])),
    592592          duration($opts{rpbase})));
    593593                        privmsg(sprintf(gettext("Success! Account %s created. ".
     
    773773                    $rps{$arg[4]}{class} = "@arg[5..$#arg]";
    774774                    privmsg(sprintf(gettext("Class for %s changed to %s."),
    775             $arg[4],"".(@arg[5..$#arg])), $usernick, 1);
     775            $arg[4],join(" ",(@arg[5..$#arg]))), $usernick, 1);
    776776                }
    777777            }
Note: See TracChangeset for help on using the changeset viewer.