No I can not, you are in scripting help forum, not "do it for me". But I can help you to make it, if you are willing to put some effort.
Look at the plugin that I provided and try to extract what you need. Hint: look for Ham_Weapon_SecondaryAttack(it's called when you "attack" with a grenade) and pev_button. Right click button is IN_ATTACK2.
See what you can get from this tips and from the code and post what you get(does not matter if it does not work, show what you tried).