Advertisement
marwanpro

Reverse

Oct 1st, 2014
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. On *:TEXT:*:#:{
  2. if ($1 = !reverse) {
  3. set %x $calc($len($1-) + 1)
  4. unset %resultat
  5. tokenize 32 $replace($2-, $chr(32), $chr(160))
  6. while %x > 1 {
  7. dec %x
  8. var %resultat = %resultat $+ $mid($1-, %x, 1)
  9. }
  10. msg $chan %resultat
  11. halt
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement