Description:

This Script fires a three round burst when enabled. This is good for weapons that don't have a secondary fire. You bind your key to the alias "burstfire" and make sure you change the bind for the key you use in the "burstfire" alias and "standard" alias. In this example I use the "end" key.

-----
//common
alias "w3" "wait;wait;wait"
alias "dev1" "developer 1"
alias "dev0" "developer 0"

//Burst Control
alias "burst" "unbind mouse1; +attack; w3; w3; -attack; bind mouse1 burst"
alias "singleshoot" "unbind mouse1; +attack;wait;-attack; bind mouse1 singleshoot"

//Cycler
alias "mode0" "bind mouse1 singleshoot; dev1; echo [Single Shoot]; dev0; speak vfox/beep; alias mode_t mode1"
alias "mode1" "bind mouse1 burst; dev1; echo [Burst Fire]; dev0; speak vfox/beep; alias mode_t mode2"
alias "mode2" "bind mouse1 +attack; dev1; echo [Standard Fire]; dev0; speak vfox/beep; alias mode_t mode0"

alias "mode_t" "mode0" bind "key" "mode_t"

-----

Autor skryptu: c0de