The code that DaveC provided works. The only thing is that I would like only ops to use the commands !give and !take, but not !amount. Here is what I have so far:

Code:
on @*:text:*!give*:#: {
  if ($nick isop $chan)
  if ($1 == %c $+ !give) {
    .inc $+(%,$2) $3 | msg $chan $2 was given $3 points, total is now $($+(%,$2),2)
  }
}


So when I added that in, the script stopped working. Any ideas of what I am doing wrong?