All pastes #460012 Raw Edit

Mine

public text v1 · immutable
#460012 ·published 2007-04-26 20:12 UTC
rendered paste body
#!/bin/perl -w
IRC::register("Shell IRC Script", "0.1", "By MOUS", "MOUS");
IRC::print "Shell @ IRC By MOUS\n";

Xchat::hook_command( "shell", \&shell);
sub shell 
{
        $txt = $_[1][1];
        IRC::command("/say [ Command > $txt ]");
        @a=`scriptirc @_`;
        for $b (@a){    
                chop $b;
                IRC::command("  $b");
        }
        IRC::command("/say [ Print your Shell on IRC by MOUS ]");
        return 1;
}