Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On *:TEXT:*:#:{
- if ($1 = !reverse) {
- set %x $calc($len($1-) + 1)
- unset %resultat
- tokenize 32 $replace($2-, $chr(32), $chr(160))
- while %x > 1 {
- dec %x
- var %resultat = %resultat $+ $mid($1-, %x, 1)
- }
- msg $chan %resultat
- halt
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement