thanks guys! you are all very helpful! smile
the script works exactly the way i want it to work now smile

Code:
  
on *:text:!dollar *:#:{  
  idollar  
  msg $chan 6a dollar was added by $2
  msg $chan 6the score is now %dollar dollar :)
}
on *:text:!dollar:#:{  
  idollar  
  msg $chan 6a dollar was added by $nick
  msg $chan 6the score is now %dollar dollar :)
}
on 500:text:!resetdollar:#:{  
  rdollar  
  msg $chan 6score reset by $nick
}
on *:text:!dollarstatus:#:{  
  msg $chan 6the score is now %dollar dollar :)
}
on *:text:!dollarhelp:#:{  
  msg $chan 6type !dollar to donate a dollar on behalf of yourself
  msg $chan 6type !dollar <nickname> to donate a dollar on behalf of someone else
  msg $chan 6type !dollarstatus to list the current score
  msg $chan 6type !resetdollar to reset the score (admin only)
}
alias rdollar { 
  unset %dollar 
}
alias idollar {  
  if (!%dollar || %dollar < 1000) { inc %dollar }
}




maybe you guys are willing to help me out with another additional feature smile
to output a list of users with the amount of dollars they have donated after someone types !list or something.

what would be needed to done with the code?