Code:
//First a list of keyboard key names
//Hope it helps
//Key Names - names for binding
//Numpad 0 - KP_INS
//Numpad 1 - KP_END
//Numpad 2 - KP_DOWNARROW
//Numpad 3 - KP_PGDN
//Numpad 4 - KP_LEFTARROW
//Numpad 5 - KP_5
//Numpad 6 - KP_RIGHTARROW
//Numpad 7 - KP_HOME
//Numpad 8 - KP_UPARROW
//Numpad 9 - KP_PGUP
//Numpad Dot or . - KP_DEL
//Numpad ENTER - KP_ENTER
//Numpad + - KP_PLUS
//Numpad - - KP_MINUS
//Numpad * - KP_MULTIPLY
//Numpad / - KP_SLASH
//Numpad next to Slash - KP_NUMLOCK
//windows key left - LWIN
//windows key right - RWIN
//SHIFT, CTRL, ALT Left - SHIFT, CTRL, ALT
//SHIFT, CTRL, ALT Right - RSHIFT, RCTRL, RALT
//Print Screen - Can not be bound
//Scroll Lock - SCROLLLOCK
//Pause - NUMLOCK
//Insert - INS
//Home - HOME
//Page Up - PGUP
//Page Down - PGDOWN
//Delete - DEL
//End - END
//Arrow Key Up - UPARROW
//Arrow Key Down - DOWNARROW
//Arrow Key Left - LEFTARROW
//Arrow Key Right - RIGHTARROW
//You can not bind this key ;
//Slots - what they are
//slot1 - malee weapons
//slot2 - magnum
//slot3 - smg
//slot4 - shutgun
//ULX Mod Commands please bind the menu command for the love of god... Looking at you fryman...
//full list of ulx commands can be found here https://pingperfect.com/phpbb/viewtopic.php?t=659
//!menu (typing this in chat will open up the ulx menu (but just bind the one of the folling to a key))
//xgui - opens menu
//ulx menu - opens menu
//ulx gag * - the emergency gag all command (makes it so no one can use their mic(mutes you too)
//ulx gimp * - ADMIN ONLY... the emergency gimp all command (makes it so no one can type in chat
exec "/scripts/dances.cfg" //excutes this file so then we can bind alias from that file.
exec "/scripts/tickrate.cfg"
//remove // (comments) from the binds below if you want to use it.
//binds (change these to whatever keys you want) example: bind "<key>" "<command>"
//alias's
bind "alt" "+cjump"
bind "c" "msgdeath"
bind "/" "tgag"
bind "." "tgimp"
//weapon binds
bind "r" "slot3"
bind "q" "slot4"
bind "z" "slot1"
//acts
bind "1" "robot"
bind "2" "muscle"
bind "3" "dance"
bind "4" "laugh"
bind "5" "disagree"
bind "6" "wave"
//utility binds
bind "0" "say !3p"
bind "x" "xgui"
bind "[" "stopsound"
bind "]" "stopsoundscape"
//Alias's
//crouch jump
alias +cjump "+jump; +duck"
alias -cjump "-duck; -jump"
//msg + death (types a message in chat and kills yourself instantly
alias msgdeath "say I tripped!; kill"
//toggle gag all
alias tgag "tgag1"
alias tgag1 "ulx gag *; alias tgag tgag2"
alias tgag2 "ulx ungag *; alias tgag tgag1"
//toggle mute all (again Admin only)
alias tgimp "tgimp1"
alias tgimp1 "ulx gimp *; alias tgimp tgimp2"
alias tgimp2 "ulx ungimp *; alias tgimp tgimp1"
echo "Keyboard_Binds loaded"