Resxt 57053b38a8 chat_commands 1.4.0
Added an alias system so that a command can be called with different names.
The alias commands respects the permission system and can be used seemingly with the help and alias command.
The commands command still only lists the original/full command name, it doesn't list aliases
CreateCommand now has an addition argument commands can use: commandAliases

Added a new !alias or !aliases command
With these commands you can get the available alias(es) of a command by its original name or one of its alias
For example !alias god or !alias godmode

Some refactor to make the ChatListener function easier to read along with some comments to separate each command logic (built-in commands and "any other command")

Added CommandAliasesDoesNotExistError

Added GetCommandNameFromAlias util function
2023-06-17 11:06:03 +02:00
2023-06-17 11:06:03 +02:00
2023-03-18 02:05:52 +01:00
2023-02-01 16:21:01 +01:00
2022-09-16 18:50:14 +02:00
2023-01-27 22:27:00 +01:00

Plutonium-IW5-Scripts

image

What is this?

This is a collection of Plutonium IW5/MW3 scripts I created, written in GSC.
Some scripts (mostly older ones) have specific use cases and some others were made to be as generic as possible so you might find something useful.

Some scripts were made when I was still fairly new to GSC so some scripts might not be perfectly optimized or done the proper way but they do their job and should at least give you an idea of how to do certain things or work well enough for you to use them.

Huge thanks to everyone who helped me learn GSC: Birchy, DoktorSAS, FutureRave and other people on Discord.

How do I download a script?

  • Download this repository
  • Open the downloaded ZIP file
  • Drag and drop the script(s) you want in the folder they need to be placed in.
    If no instructions are provided for the script you want then simply follow the instructions given in How do I use a script?

Just keep in mind that this downloads a copy of this repository at the moment you download it.
If a script is updated after you downloaded this repository and you want the new version then you will need to download this repository again.

How do I use a script?

Follow the instructions in the documentation

Simply drop a .gsc file inside %localappdata%\Plutonium\storage\iw5\scripts.

Note that you can use map_restart in the console to quickly restart your current game and reload scripts.

Languages
GSC 100%