Originally Posted By: danzigrules
it seems that it is just out putting the .06 and .09


What do you mean about outputting those?

Originally Posted By: danzigrules

also can the 10.7484 lose the .7484


Here:
Code:
on *:text:You purchased*including tax*:#: {
  var %price = $calc($remove($gettok($1-,$calc($gettok($1-,0,32) - 2),32),$chr(44),$) / $remove($3,$chr(44)))
  msg $chan Unit Price: $int($calc(%price * .06)) Demo: $int(%price) Comm: $int($calc(%price * .09))
}


Note that this drops the decimal value as you requested. If you'd rather have it round the number instead of dropping the decimal, then use this:
Code:
on *:text:You purchased*including tax*:#: {
  var %price = $calc($remove($gettok($1-,$calc($gettok($1-,0,32) - 2),32),$chr(44),$) / $remove($3,$chr(44)))
  msg $chan Unit Price: $round($calc(%price * .06),0) Demo: $round(%price,0) Comm: $round($calc(%price * .09),0)
}