Alias attack "+attack; wait 10; -attack" alias attack2 "+attack2; wait 10; -attack2" alias scrollportal "blue" alias blue "attack; wait; alias scrollportal orange" alias orange "attack2; wait; alias scrollportal blue"
This script makes it so that you can hold down a key, and it will only fire one portal (as opposed to rapid fire). The main attraction, though, is the auto-switching portal fire. This makes it so that when you press the auto-switching key, it will fire a blue portal. However, the next time you press it, it will fire an orange portal. After that, it will fire a blue one, then an orange, blue, orange, and so on and so forth. Installation: Place into the autoexec.cfg file.
bindings: attack- fires one blue portal attack2- fires one orange portal scrollportal- fires portals in auto-switching mode
just bind these commands to the keys you want, and you're good to go.
Please note that the scrollportal script is dependent on the attack script, so don't delete it.