You forgot the rebuy/autobuy feature that can only be accessed with cstrike module forward CS_InternalCommand.
Also, for buy detection, i suggest you to use
client_buy forward, or its method, you can also find orpheu way at #6, code is shorter.
__________________