Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.58 KB | None | 0 0
  1. alias s {
  2.   set %string $replace($1-,$chr(32),$chr(96))
  3.   set %count 1
  4.   set %length $len(%string)
  5.   while (%count <= %length) {
  6.     set %spaced %spaced $mid(%string,%count,1)
  7.     inc %count
  8.   }
  9.   set %count 0
  10.   while (%count <= %length) {
  11.     set %token $gettok(%spaced,$r(1,$numtok(%spaced,32)),32)
  12.     set %random %random %token
  13.     set %spaced $deltok(%spaced,$findtok(%spaced,%token,32),32)
  14.     inc %count
  15.   }
  16.   echo -a $replace(%random,$chr(32),$null,$chr(96),$chr(32))
  17.   unset %token
  18.   unset %random
  19.   unset %spaced
  20.   unset %count
  21.   unset %length
  22.   unset %string
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement