Category: >> Perl Code >> Reversing text command Bookmark and Share

<< lastnext >>

Snippet Name: Reversing text command

Description: Reverse text on the fly with this nifty little snippet.

Also see:
» Auto-link text with a given set of
» Remove empty lines from text files
» Convert text to image in php
» Reading and Writing to text files ...
» Select text in a DIV, SPAN, or tab...
» Random Text in ASP
» Create an array from words in an H...
» Create an array from the lines of ...
» Create Filler Text
» Easily Change Text To Lowercase
» Truncate text while preserving HTM...
» Limit Text Area Characters
» Flip Text Upside Down
» Convert text to soundex
» Show info on current context
» Censor Message Text
» Text to GIF
» Binary to Text / Text to Binary
» Return text between delimiters in ...
» Write text onto an image
» Put Cursor At Top Of Textarea
» Insert Into Middle Of Text
» Strip HTML to Text
» Get text between tags
» Get Link Text
» Count Textbox Chars
» Change text box height
» Convert HTML to plain text

Comment: (none)

Author: CoderZone
Language: PERL
Highlight Mode: PERL
Last Modified: December 02nd, 2010

use Xchat qw( :all );
hook_command('Reverse', sub { command("say ".reverse($_[1][1])); return EAT_ALL; });
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© | users online: 8