Don't like ads? PRO users don't see any ads ;-)

Show swedish characters in mIRC without UTF8 Encode/Decode

By: d0tt on Jun 21st, 2012  |  syntax: mIRC  |  size: 0.64 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ;; This snippet allows you to see proper swedish characters without enabling utf-8 support.
  2.  
  3. on ^*:TEXT:*:?:{
  4.   echo -tlbfm $nick $chr(60) $+ $nick $+ $chr(62) $replacetext($1-)
  5.   haltdef
  6. }
  7.  
  8. on ^*:TEXT:*:#:{
  9.   echo -tlbfm $chan $chr(60) $+ $nick($chan,$nick).pnick $+ $chr(62) $replacetext($1-)
  10.   haltdef
  11. }
  12.  
  13. on ^*:ACTION:*:?:{
  14.   echo 6 -tlbfm $nick * $nick $replcaetext($1-)
  15.   haltdef
  16. }
  17.  
  18. on ^*:ACTION:*:#:{
  19.   echo 6 -tlbfm $chan * $nick($chan,$nick).pnick $replacetext($1-)
  20.   haltdef
  21. }
  22.  
  23. alias -l replacetext {
  24.   return $replace($1-,Ã¥,å,ä,ä,ö,ö,$chr(195) $+ $chr(133),Å,$chr(195) $+ $chr(132),Ä,$chr(195) $+ $chr(150))
  25. }