r/Tf2Scripts • • Nov 13 '18

Question Need help with a Viewmodel related script

I tried to make a script which turns off viewmodels when using the direct hit (I hate the direct hit viewmodel) and keeps viewmodel on when I use melee/shotgun.

Obviously I could just use ytterium's comp viewmodels but that doesn't work with the direct hit for whatever reason.

Here's the script:

alias unbinds "unbind mwheelup; unbind mwheeldown; unbind mouse5"

alias melee "slot3; r_drawviewmodel 1; viewmodel_fov 97"

alias secondary "slot2; r_drawviewmodel 1; viewmodel_fov 97"

alias primary "slot1; r_drawviewmodel 0; viewmodel_fov 97"

alias on "unbinds; bind mwheelup primary; bind mouse5 secondary; bind mwheelup melee"

alias off "bind mwheelup invprev; bind mwheeldown invnext"

bindtoggle l "on off"

So I was just wondering why this doesn't work and what I can do to fix it.

Thanks.

5 Upvotes

16 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 14 '18

[deleted] — view deleted comment

1

u/stopalreadybot Nov 14 '18

Hey CommonMisspellingBot, just a quick heads-up:

definately was the name of a goal oriented douchebag who lived in pre-historic Egypt. Because of you, definately started having sex with their very straight hair stylist.

When this was discovered by the public, it led to a street being named after them . definately's last shriek of glory was:

Stfu CommonMisspellingBot, no one cares what you have to say.

I'm a bot. Feedback? hmu

Dear mods, just ban CommonMisspellingBot and the other bots will automatically stop.

1

u/CommonMisspellingBot Nov 14 '18

Don't even think about it.

1

u/stopalreadybot Nov 14 '18

Oh shut up, you little talking doll.

I'm a bot. Feedback? hmu

Dear mods, just ban CommonMisspellingBot and the other bots will automatically stop.

1

u/ComeOnMisspellingBot Nov 14 '18

dOn't eVeN ThInK AbOuT It.

1

u/ComeOnMisspellingBot Nov 14 '18

hEy, MeOw_64, JuSt a qUiCk hEaDs-uP:
dEfInAtElY Is aCtUaLlY SpElLeD DeFiNiTeLy. YoU CaN ReMeMbEr iT By -ItE- nOt –AtE-.
HaVe a nIcE DaY!

ThE PaReNt cOmMeNtEr cAn rEpLy wItH 'dElEtE' tO DeLeTe tHiS CoMmEnT.

1

u/CommonMisspellingBot Nov 14 '18

Don't even think about it.

1

u/stopalreadybot Nov 14 '18

Oh shut up, you little talking doll.

I'm a bot. Feedback? hmu

Dear mods, just ban CommonMisspellingBot and the other bots will automatically stop.

1

u/ComeOnMisspellingBot Nov 14 '18

dOn't eVeN ThInK AbOuT It.

1

u/BooCMB Nov 14 '18

Hey CommonMisspellingBot, just a quick heads up:
Your spelling hints are really shitty because they're all essentially "remember the fucking spelling of the fucking word".

You're useless.

Have a nice day!

Save your breath, I'm a ^bot.

1

u/BooBCMB Nov 14 '18

Hey BooCMB, just a quick heads up: The spelling hints really aren't as shitty as you think, the 'one lot' actually helped me learn and remember as a non-native english speaker.

They're not completely useless. Most of them are. Still, don't bully somebody for trying to help.

Also, remember that these spambots will continue until yours stops. Do the right thing, for the community. Yes I'm holding Reddit for hostage here.

Oh, and /u/AntiAntiSwear, no u

Now we have a chain of at least 4 bots if you don't include AutoMod removing the last one in every sub! It continues!

Also also also also also

Have a nice day!