Advertisement
SaNCaK

mIRC Random nick colors

Feb 12th, 2014
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.42 KB | None | 0 0
  1. ;output same nick random color for the message
  2.  
  3. on 1:START:set %nickConfig $strip($readini(config.ini, Messages, CONF_prefixuser),c) | set %actionConfig $strip($readini(config.ini, Messages, CONF_prefixemote),c)
  4.  
  5. ;channel
  6. on ^*:TEXT:*:#: {
  7.   if ($nick(#, $nick)) {
  8.     echo $nick(#,$nick).color -trlmbf  # $nickFormated $1- | halt
  9.   }
  10. }
  11.  
  12. alias nickFormated return $replacex(%nickConfig,$!pnick,$nick($chan,$nick).pnick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement