Text Reverser

By Sephiroth1n6 on Feb 10, 2008

usage $reverse

example:
//say $reverse(This text will be reversed)

input reverser, ( second part)

hold ctrl when you push enter

alias reverse { return $regsubex($1-,/(.)/g,$mid(\A,-\n,1)) }

on *:INPUT:#:{
  if ($ctrlenter) {
    haltdef | msg $active $regsubex($1-,/(.)/g,$mid(\A,-\n,1))
  }
}

Comments

Sign in to comment.
Scakk   -  Aug 03, 2008

It does not allow any punctutaion aside from a period.

 Respond  
mannix143   -  Aug 03, 2008

??

 Respond  
Jonesy44   -  Feb 10, 2008

If you can find a use for this gimme a shout, cause i can\'t :s
Don\'t get me wrong however, good scripting work, tbh, i\'d have been using loops and stuff like mountaindew was just saying =P

 Respond  
guest598594   -  Feb 10, 2008

wow...i never knew it was that easy

i was on yahoo answers a little while ago, and this guy wanted a palindrome verifier, and i made a little test one in mirc before vb, and i was like doin loops, var\'in the $left(string,%x), then the $mid of that, and then putting it all together...

so good job, this can come in handy Image

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.