Using your compiled plugin brings up the following error (Using L4D1)
Code:
[SM] Exception reported: Invalid convar handle 0 (error 4)
[SM] Blaming: l4d_feeding_medicines.smx
[SM] Call stack trace:
[SM] [0] ConVar.AddChangeHook
[SM] [1] Line 121, /home/forums/content/files/2/7/2/5/1/8/194216.attach::OnPluginStart
[SM] Unable to load plugin "l4d_feeding_medicines.smx": Error detected in plugin startup (see error logs)
Shame as it seems like a really good idea.