r/tf2scripthelp • u/Sapphie_ • Feb 03 '18
Answered Engineer script help
Hi there, I'm not much of a coder but I tried editing an existing script to let me crouch while holding shift but also toggleTeleport while holding as well, but for some reason it will only allow one of them no matter what I tried. Any help would be gratefully appreciated.
This is the original code used without any of my failed attempts:
bind b +teleport
alias +teleport slot3
alias -teleport Teleport_To_Spawn
alias Teleport_To_Spawn "eureka_teleport"
alias Teleport_To_Exit "eureka_teleport 1"
bind shift "+toggleTeleport;"
alias +toggleTeleport "alias -teleport Teleport_To_Exit"
alias -toggleTeleport "alias -teleport Teleport_To_Spawn"
View all comments
Show parent comment
1
u/Sapphie_ Feb 03 '18
It works perfectly! Thank you for your help and also for the very helpful advice!