This was the solution I created:
Code:
alias b { return $+($chr(2),$1-,$chr(2)) }
alias cc { return  $+ $color($1) $+ $2- $+  }
alias nick {
  if (!$1) { echo -ta  $b(Error:) /nick insufficient parameters }
  else {
    .nick $1
    if (!$server) { echo -st $+ $msgstamp Your main nickname is now $cc(nick,$1) }
  }
}

Last edited by Tiago; 14/03/19 02:27 PM.

TECO
irc.PTirc.org (Co-Admin)