Not sure what you mean by
rucanunes wrote:disabled the icon
Because an icon (or image meter) can't be disabled. Measures can be disabled, meters not. They can be hidden and I suppose this is what you want to do (or did).
Also not sure what you mean by
rucanunes wrote:is it possible to disable the right click to?
You have there any right click set up? Because at least in the posted code there isn't.
If you'd like to set up a right click in some circumstances, you have to use the !SetOption bang. It is a very versatile bang and can be used to set up many things. Here is a good description of what you can and what can't to do with this bang:
https://docs.rainmeter.net/tips/setoption-guide/
But first please give some details about the action you would like to set up on right click and on what meter.
EDIT: Not sure if FreeRaider was right about what you'd like to do, or me?