Bukz

Binds for gRamps

May 31st, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. bind E [
  2.   if (|| (curmodeattr bot) (&& $connected (!= $gamemode 1))) [
  3.     if (= (currentprimary) (curweapon)) [ secondary ] [ primary ]
  4.   ] [ edittoggle ]
  5. ]
  6.  
  7. bind Q [
  8.   if $editing [ domodifier 1 ] [
  9.     if (= (currentprimary) (curweapon)) [ melee ] [ primary ]
  10.   ]
  11. ]
  12.  
  13. // Panic Key :P
  14. checkmag = [ if (|| (magcontent $arg1) (magreserve $arg1)) [ result 1 ] [ result 0 ] ]
  15.  
  16. bind KEY [
  17.   if (checkmag (currentprimary)) [ primary ] [
  18.     if (|| (checkmag 1) (checkmag 9)) [ secondary ] [
  19.       if (checkmag 8) [ grenades ] [
  20.         melee
  21.       ]
  22.     ]
  23.   ]
  24. ]
Advertisement
Add Comment
Please, Sign In to add comment