On April - 27 - 2010

As a newbie I didn’t know you can add binds inside binds. In this case I mean there is the function to let you bind a key only when you launch it by pressing another key.
For example, i want to be able to quit ET only if I pressed esc and then press delete.
bind ESC “bind DEL quit”
Notice this can also be made in an improved way with the +vstr function, so you have to hold esc while pressing delete to be able to quit.
bind ESC “+vstr quitON quitOFF”
set quitON “bind DEL quit”
set quitOFF “bind DEL echo ^qPress Esc First!” // (or “unbind DEL”)
Categories: Featured, Scripting Guide




