I've just been messing around with my Plunder ability... it kept bugging and wouldnt go away (Using variable even...) 
I finally found the answer (And how WEU does it) WITHOUT USING JASS!
Hope you can find it as useful as I do, its a floating text revolution
I finally found the answer (And how WEU does it) WITHOUT USING JASS!
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Plunder for (Casting unit)) Equal to 1
Then - Actions
Set Number = (Random integer number between 3 and 10)
Floating Text - Create floating text that reads (+ + (String(Number))) above (Target unit of ability being cast) with Z offset 0.00, using font size 8.00, color (100.00%, 80.00%, 0.00%), and 0.00% transparency
Floating Text - Change the fadepoint of (Last created floating text) to 2.00
Floating Text - Change the lifespan of (Last created floating text) to 3.00
Floating Text - Hide (Last created floating text) for (All players matching ((Owner of (Casting unit)) Not equal to (Matching player)))
Floating Text - Change permanent state of (Last created floating text) to Disable
Player - Add Number to (Owner of (Casting unit)) Current gold
Else - Actions
Do nothing
Hope you can find it as useful as I do, its a floating text revolution


