halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[HL1 Engine Problem] Aliases being executed when chatting and pressing the binded button

Open di57inct opened this issue 13 years ago • 4 comments

So, for example, i have:

alias "+sl" "+use; +dellaser" alias "-sl" "-use; -dellaser" bind "e" "+sl"

When I write in chat and press the "e" button, it executes my alias. Picture:

2013-02-24_00001

Please fix. Thank you.

di57inct avatar Feb 24 '13 11:02 di57inct

How are you entering the chat, via the "y" key when in game (and not into the console)?

alfred-valve avatar Feb 25 '13 19:02 alfred-valve

Yes, via "messagemode".

di57inct avatar Feb 25 '13 23:02 di57inct

Same thing here. And yes:

bind y "messagemode"
alias +use_test "+use;echo test1"
alias -use_test "-use;echo test2"
bind e +use_test

press Y to activate messagemode, and write:

testing one two three

Console will output:

test2
test2
test2
test2

for every 'e' you release.

MPNumB avatar Feb 26 '13 10:02 MPNumB

Still there after the 14.03.2014 update. Please fix.

di57inct avatar Mar 14 '14 11:03 di57inct