-1 points - posted 3792 days ago by xe_manup - status: Active - 1 comments watch embed this
It would be really cool to be able to tie a "hook" to execute a block/function of code when the .set fucntion is used to alter the value of the variable.

This would allow for a virtual callback when a variable is changed.

SuperDave posted on 2008-09-18 17:48:17
Add the 'notify" flag to the variable and you can use the event "server_cvar" I believe.