cubescript challenge
#1

could anyone write me a script that would allow 'tactical crouching'.

at the moment when you press left shift you crouch, then onrelease you stand again.

is it possible to write a script that would make you crouch and stay crouched on release. then to stand again once you hit left shift. know what i mean?

Thanks given by:
#2
Not possible anymore. Things like attack, jump, crouch, etc. need to be keybound and don't/are not supposed to function when called via script.
Thanks given by:
#3
If only there was a key that, when you pressed it once, did the equivalent of holding down shift, then pressing it again released shift...

edit: corrected stupid typo
Thanks given by:
#4
I heard CAPSLOCK has magical properties.
:D
Thanks given by:
#5
uh... does this script have anything to do with teabagging? :X
Thanks given by:
#6
Listen to the V!
Thanks given by:
#7
Trust me, I tried a capslock t-bagging script. Nothing worked there. I used a method of binding and un binding capslock, however, never worked.
Thanks given by:
#8
No one has answered his question yet.
bind CAPSLOCK [crouch]
Thanks given by:
#9
Gibstick wins the challenge!
Thanks given by:
#10
Fuh.
We were trying to get him to use his mental faculties to make the last leap of intellect on his own.
Killjoy. :-P
Thanks given by:
#11
teabagging script:
bind "CAPSLOCK" [crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75;crouch;sleep 75]
GUARANTEED TO NOT WORK :D
Thanks given by:
#12
Heh, yep. That wasn't my method. That could be cleaned up if you used a recursive loop, and closed your brackets.
More feasible code:
crouchloop = [crouch; sleep 75 [crouchloop]]
bind "CAPSLOCK" [crouchloop]
A little cleaner, no?
Thanks given by:
#13
The problem with that is it never says when to stop crouching.
Thanks given by:
#14
Ronaldo_Reagan Wrote:More feasible code:
I didn't spend too much time on it. I am currently fixing up the drunk script for use in another one of my scripts.
Thanks given by: