Need some information ... multiple actions

Hello. I need some information. I want to had more than 13 inlets, i need to insert about 24 different 'bangs' and i want to know what i need do had or to do.
Please help me :o

A 'shift register' may be what you are looking for.

You could also look here:-
http://www.arduino.cc/playground/Code/MUX151