I use something that looks like this..I edited this a couple times rq because there was tons of stuff in it that wouldn't make sense to post here..but

Code:
alias twitchname {
  if ($hget(nickformat) == $null) { hmake nickformat }
  if ($hget(nickformat,$1)) { return $iif($hget(nickformat,$1) == $null,$1,$hget(nickformat,$1)) }
  var %json https://api.twitch.tv/kraken/users/ $+ $1
  JSONOpen -ud nicename %json
  hadd nickformat $1 $json(nicename,display_name)
  return $iif($hget(nickformat,$1) == $null,$1,$hget(nickformat,$1))
}


obv you will replace any messages with $nick with $twitchname($nick) or w/e the identifier for the name you want to use.

Last edited by Belhifet; 29/03/15 08:28 PM.