Advertisement
illpastethat

Encode no caps

Sep 18th, 2011
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.02 KB | None | 0 0
  1. alias encode {
  2.   if ($1 == on) { unset %encode | echo -a $timestamp <4Encode> 3On | set %encode on }
  3.   if ($1 == off) { unset %encode | echo -a $timestamp <4Encode> 4Off }
  4. }
  5.  
  6. on *:INPUT:#encode: {
  7.   if (%encode == on) && (/ !isin $1) {
  8.     var %c $strip($encode($1-,m)),%a $len(%c)
  9.     while %a >= 1 {
  10.       var %b %b $+ $replace($mid(%c,%a,1),$chr(32),$str($chr(32),2))
  11.       dec %a
  12.     }
  13.     msg $active$replacexcs($replacex(%b,=,),A,1,B,2,C,3,D,4,E,5,F,6,G,7,H,8,I,9,J,0,K,!,L,@,M,#,N,%,O,^,P,&,Q,*,R,`,S,~,T,',W,<,U,>)
  14.     echo $chan $timestamp <3 $+ $me $+ > $1-
  15.     halt
  16.   }
  17. }
  18.  
  19. on *:text:*:#encode: {
  20.   if (— isin $1) && ($2 != $null) {
  21.     tokenize 32 $replacexcs($1-,A,1,B,2,C,3,D,4,E,5,F,6,G,7,H,8,I,9,J,0,K,!,L,@,M,#,N,%,O,^,P,&,Q,*,R,`,S,~,T,',W,<,U,>)
  22.     var %c $strip($2-),%a $len(%c)
  23.     while %a >= 1 {
  24.       var %b %b $+ $replace($mid(%c,%a,1),$chr(32),$str($chr(32),2))
  25.       dec %a
  26.     }
  27.     echo $chan $timestamp <4 $+ $nick $+ > $replacex($replacex($decode(%b,m),|,),$,§)
  28.   }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement