Bielie, that's the way to get better by accepting and learning from people's suggestions. I have seen many people mislead others with redundant codes, and that's not an appropriate practice and will likely result in the redundancy being passed down...
set -eu3 %flood [ $+ [ $nick ] ] $true
Use the -l switch> set -l %flip $rand(1,2)to make it local instead of global.
You don't need the -e switch for the trigger control. Because upon existing, mIRC will get a timed variable unset.