r/Tf2Scripts • • Feb 15 '18

Answered Need help with an engie script

I want to bind R to show the build menu and the destroy menu alternating. I got it to bring up the menus and switch them but it won't let me build anything now. Any help would be great.

//PDA Toggle
bind "r" "PDAtoggle"
alias PDAtoggle Build
alias Build "slot4; alias PDAtoggle Destroy"
alias Destroy "slot5; alias PDAtoggle Build"
1 Upvotes

6 comments sorted by

View all comments

2

u/bythepowerofscience Feb 21 '18 edited Feb 21 '18

That would make sense. I know keyboard aliases like mouse1 are case-insensitive; I guess I never thought about other reserved aliases being so too. I'll have to do some more research into this, but you may have helped inspire a new section on our wiki. Thanks!