getting in the grove building my cabinet,

with the coindoor i would like so you get 3 credits per coin,
i have noticed in some games this can be set via 'DIP switches' or 'service mode' in MAME but its not all which allow this, more like around half.
ofcause when you insert a coin, the switch gets pushed once.
would it be difficult to build an electronic circuit, which makes it act as its pushed 3 (pulses?) times and how?
thanks in advance!!