Code:
on *:text:!dollar:#:{
  idollar
  msg $chan Dollar added by $nick
}
on *:text:!resetdollar:#:{
  rdollar
  msg $chan Score reset by $nick
}
alias rdollar { unset %dollar }
alias idollar {
  if (!%dollar || %dollar < 1000) { inc %dollar }
}


Do you want the "dollar" to be seperate for each nick? Or just the same "dollar" variable for everyone? The above is just one "dollar" for everyone.

If you want each nick to have their own %dollar, and use: !dollar nick, to increase a dollar for a nick, you'd have to use something like:

Code:
on *:text:!dollar &:#:{
  idollar $2
  msg $chan $nick adds a dollar to $2
}
on *:text:!resetdollar &:#:{
  rdollar $2
  msg $chan Score reset by $nick
}
alias rdollar { unset %dollar. [ $+ [ $1 ] ] }
alias idollar {
  if (!%dollar. [ $+ [ $1 ] ] || %dollar. [ $+ [ $1 ] ] < 1000) {
    inc %dollar. [ $+ [ $1 ] ]
  }
}


This would require the person to type: !dollar somenick
And to reset it: !resetdollar somenick

If you want to add a dollar or unset, you can use: /rdollar nick, and /idollar nick


Enjoy.