I think I know what you mean. This is a trigger you must be careful with, so that it doesn't trigger when others are fighting the thief. But it's still simple:
To make a casino bot is pretty advanced if you want it to be bug free and fast. Personally I think you should do like I did, read the helpl files and manual on triggers, alia ...