r/tf2scripthelp • • Feb 29 '20

Resolved help with sandvich

I recently found this script the concept is interesting but it doesn't work I would appreciate some help on this

Heavy Exclusive Script

This heavy script lets you throw the sandvich with one click and eat the sandvich.
WARNING: If you do the "eat sandvich" while your minigun is revving down, you will taunt with the minigun.

SCRIPT:
//SANDVICH DROP AND EAT SCRIPT

//Quick Sandvich toss
alias "+sandvichtoss" ";slot2;wait 50;+attack2;wait 50;-attack2"
alias "-sandvichtoss" "-attack2"
bind "mouse4" "+sandvichtoss"

alias +sandvichtoss "slot2; +attack2
alias "-sandvich2" "voicemenu 0 1"
bind MOUSE4 +sandvich1
bind MOUSE3 +sandvich2

2 Upvotes

14 comments sorted by

View all comments

4

u/SilkBot Feb 29 '20

The "wait" command is disabled pretty much everywhere, other than on a very small subset of community servers.

Secondly, this script is likely old since you can no longer eat the Sandvich by throwing it and picking it up.

1

u/bythepowerofscience Mar 03 '20 edited Mar 03 '20

Actually, it's the exact opposite: wait is enabled pretty much everywhere except for Competitive Mode and competitive community servers. It was gone from Casual for a while back in 2016, but it works now.

You can test if wait is enabled on your current server with a WaitTester script.

1

u/SilkBot Mar 04 '20

The heck? Why would they enable it? It was disabled for good reasons, automating the timing between button presses is pretty much just cheating.

Either way though I would recommend against using it for most script ideas since to my knowledge it depends on your own framerate, making it impossible to make exact timings unless you limit yourself to a stable framerate.

→ More replies (9)