Damn good idea, i thought it was mine but there is always who thinked it earlier. I'll try to improve it as i can.
v0.2.1SL [2007-06-26] by Simon Logic
! reset g_flash_until array on round restart; this could lead to non-blind issue
+ potential support of any mod
! fixed holdtime to seconds formula; previous formula results in too long
periods of flashing
! now you can't blind a victim when he doesn't look at attacker/flashlight
WARNING! Untested! But i have a strong feeling to finish it.