[VSCRIPT] main_thing's Fun Commands [MTFC] 2.0b
A collection of fun commands for you to use!
This is a rewrite of my first vscript script, main_thing's Fun Commands [MTFC], which aims to clean up the code and rewritten almost all of the commands.
Miscellaneous Changelog
- Added Partial support for silent commands when starting a command with "/" instead of "!".
- Added the !vscript command. Which allows you to run vscript code as input. (add your SteamID3 to
vscripts/chatcommands_/data/admins.nut
to use it) - Added the !toggletp command. Which toggles you between first and thirdperson.
- Added the !findattribute command. Which allows you to find an attribute by its name.
- Moved all bosses to the !boss command.
- The !buffweapon command has been changed to multiply the stats of your active weapon by 2.
- Fixed !randomweapon and !randomloadout from error-ing out randomly.
- Updated !hhh's Headless Horseless Horsemann to use particles and sound effects, you can now scare your victims by calling for medic.
- Updated !vsentrybuster's Sentry Buster auto detonate at 1HP.
- Updated !tank's tank no longer spawn a logic_timer and no longer allows you to spawn multiple tanks.
- Made !dropweapon also drop your weapon with attributes and proper collision.
- Updated !decoy's bot_npc_decoy to no longer prefer to run in one direction.
- Updated !addattribute to remove restrictions.
What's new internally?
- The admins system has been rewritten to allow you to specify what commands each player can use.
- All of the data (.txt files) for chatcommands has been moved to
vscripts/chatcommands_/data/
and has been rewritten to use vscript instead. - Fixed a crash that happens when loading the script. (hopefully)
- Minimized the amount of script clashes this vscript script would have with other scripts.
- Better code organisation. (hopefully)
- The folder name for MTFC is chatcommands_ now.
Random Removals
- Removed !powerplay.
- Removed auto setting and removing of robot models for Mann Vs Machine.
- Removed SteamID3 logging.
How to install?
- unzip the file in
tf/scripts/vscripts/
and it should be pathed like thistf/scripts/vscripts/chatcommands_/commands.nut
to get to the commands.nut file. - run
script_execute chatcommands_/commands
in the console
- License
- Free to use and modify. Credit is appreciated but not required.