Guest User

Untitled

a guest
May 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.96 KB | None | 0 0
  1. ;; By Yam Mesicka - Change the fucking bad decoding to normal one.
  2. ;; DON'T FORGET! Replace the NETWORK_NAME_HERE with your network name.
  3. ;; Just go to the window of the server and write //echo -ta $network
  4. ;; Have fun :)
  5.  
  6. on ^*:text:*:*:{
  7.   haltdef
  8.   if ($network == NETWORK_NAME_HERE) {
  9.     set %lenlen 1
  10.     unset %newstr
  11.     while (%lenlen <= $len($1-)) {
  12.       if (($asc($mid($1-,%lenlen,1)) >= 224) && ($asc($mid($1-,%lenlen,1)) <= 250)) {
  13.         set %newstr %newstr $+ $chr($calc($asc($mid($1-,%lenlen,1)) + 1264))
  14.       }
  15.       elseif ($asc($mid($1-,%lenlen,1)) == 32) {
  16.         set %newstr %newstr $+ @M1S@
  17.       }
  18.       else {
  19.         set %newstr %newstr $+ $mid($1-,%lenlen,1)
  20.       }
  21.       inc %lenlen
  22.     }
  23.     if ($left($target,1) == $chr(35)) {
  24.       echo -t $target <  $+ $nick($target,$nick).pnick $+ > $replace(%newstr,@M1S@,$chr(32))
  25.     }
  26.     else {
  27.       echo -t $target <  $+ $nick $+ > $replace(%newstr,@M1S@,$chr(32))
  28.     }
  29.   }
  30. }
Add Comment
Please, Sign In to add comment