XChat Plugin - Reversing text command. /Reverse Hello there Would show up like ereht olleH
#!/usr/bin/perl use Xchat qw( :all ); hook_command('Reverse', sub { command("say ".reverse($_[1][1])); return EAT_ALL; });