Originally Posted By: Majeye
Now that I have that fixed.. I'm curious as to how a 2nd name can be added to the command?

I thought it was something like this (but doesn't seem to work):

Code:
on $*:text:/!karma (add|remove)/Si:#thebluemuzzy:{
  if ( $nick == thebluemuzzy | $nick == majeye ) { 
    if ($0 < 3) { msg # Insufficient parameters: Use !karma <add|remove> <user> [number] | return }
    writeini -n Karma.ini $+(#,.,$3) Points $calc($readini(Karma.ini,$+(#,.,$3),Points) $iif($2 == add,+,-) $iif($4 isnum,$4,1))
    { msg $chan $3 now has $readini(Karma.ini,$+(#,.,$3),Points) total karma. }
  }
  else { msg $chan This command is only available to TheBlueMuzzy & Majeye. }
}


Try use this code:

Code:
on $*:text:/!karma (add|remove)/Si:#thebluemuzzy: {
  var %nicks = thebluemuzzy majeye
  if ($istok(%nicks,$nick,32)) { 
    if ($0 < 3) { msg # Insufficient parameters: Use !karma <add|remove> <user> [number] | return }
    writeini -n Karma.ini $+(#,.,$3) Points $calc($readini(Karma.ini,$+(#,.,$3),Points) $iif($2 == add,+,-) $iif($4 isnum,$4,1))
    { msg $chan $3 now has $readini(Karma.ini,$+(#,.,$3),Points) total karma. }
  }
  else { msg $chan This command is only available to %nicks nickname(s). }
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-