How to trig event by Clicking Mouse

I am new for GMod. Is there any way to do the following things: Click (right or left are OK) on an item, such as a chair, or a bulb, and let an input window where I can set some parameters pop up?

You would have to code your own thing with lua (or maybe Expression 2).

Or download an addon that already does this - if you can find one.

Edit: Any wire thing can be updated: just hold Q, select the tool, change the settings, and click it again. No need to remove and respawn. Not sure about the non-wire stuff though. Thrusters might be able to update.