Let's suppose A = %jackpot.<$chan> and B = %total

You want A + B / 10 implying A + (B / 10)
you have (A - B) / 10


#mircscripting @ irc.swiftirc.net == the best mIRC help channel