:state=x,scancodekeypressed=x:showhud=0
That should hide your hud on a key specified by x.
To make it show just copy the hud parts from a pickup, editing the directory. Change the conditions part to plrinzone=1 or plrdistwithin=x.
Part two could be as complex or easy as you want.
Two draft scripts to get you thinking:
;messages
:state=1,scankeycodepressed=2:plrsound=audiobank/sound1
:state=1,scankeycodepressed=3:plrsound=audiobank/sound2
:state=1,scankeycodepressed=4:plrsound=audiobank/sound3
:state=1,scankeycodepressed=5:plrsound=audiobank/sound4
:state=1,scankeycodepressed=6:plrsound=audiobank/sound5
And:
;Messages (complex)
;number 1234
;using backspace to clear numbers dialled
:state=1,scancodekeypressed=2:plrsound=audiobank/key1sound,state=2
:state=2,scancodekeypressed=3:plrsound=audiobank/key2sound,state=3
:state=2,scancodekeypressed=14:state=1
:state=3,scancodekeypressed=4:plrsound=audiobank/key3sound,state=4
:state=3,scancodekeypressed=14
:state=4,scancodekeypressed=5:plrsound=audiobank/key4sound,state=5
:state=4,scankeycodepressed=14:state=1
:state=5:plrsound=phonecall1
;number 4321
:state=1,scancodekeypressed=5:plrsound=audiobank/key4sound,state=6
:state=6,scancodekeypressed=4:plrsound=audiobank/key3sound,state=7
:state=6,scancodekeypressed=14:state=1
:state=7,scancodekeypressed=3:plrsound=audiobank/key2sound,state=8
:state=7,scancodekeypressed=14
:state=8,scancodekeypressed=2:plrsound=audiobank/key1sound,state=9
:state=8,scankeycodepressed=14:state=1
:state=9:plrsound=audiobank/phonecall2
;number1 branch offs
;1123
:state=2,scancodekeypressed=2:plrsound=audiobank/key1sound,state=10
:state=2,scancodekeypressed=14:state=1
:state=10,scancodekeypressed=4:plrsound=audiobank/key3sound,state=11
:state=10,scancodekeypressed=14
:state=11,scancodekeypressed=5:plrsound=audiobank/key4sound,state=12
:state=11,scankeycodepressed=14:state=1
:state=12:plrsound=phonecall3
A script with so many options code become infinity huge, I'd keep numbers low. No guarantees that script will work.
All browsers should come with compulsory spell checks.