| Bank & Economy |
#ftask TASK_NAME | Forces a task to run. NOTE: This can be put into a pack for purchase with an argument that can be passed to the task, e.g. #ftask taskname [SteamID]. This will pass the steam ID of the person who ordered the pack into the task you're running. |
#pack PACK_NAME | Sets a pack to be spawned |
| Player Management |
#channel {Channel ID} | Sets a Discord channel that may be used later on in tasks |
#map X Y Z "My awesome map!" | This will create a matching map to the event you are creating in a task and post it in discord. NOTE: You need to use the #channel command before this one to tell it which channel to post your map in. |
#onlineplayercount | You can use the #OnlinePlayerCount tag in a task to be replaced by the player count. Similarly the {OnlinePlayerCount} in the server messages. |
#PlayerLocation("STEAMID") | Returns the X Y Z of the player - 10 Second timeout. Task will wait for a response. |
#PlayerName("STEAMID") | Returns the in-game name of the player |
#PlayerOnline("STEAMID") | Returns "true" or "false" can be used in the if/else condition |
#PostOnlinePlayers [channel ID] | Posts a list of online players in discord |
#randomonlineplayer | #RandomOnlinePlayer can be used inline with variables or game commands. The whole #RandomOnlinePlayer is replaced by the SteamID of a random online player (this does not include the IGC bot accounts). Example #spawnitem rag 1 location #RandomOnlinePlayer |
#RandomPlayerName | You can use #RaNdOmPlAyErNaMe command in line with what ever other command after you would use the #RandomOnlinePlayer function. Example would be to do a #global #RaNdOmPlAyErNaMe has been chosen! |
#taskpause {seconds} | Pauses the task at the console level, this is for times that sending a messages in discord requires a precise order. |
#teleport {location} | Teleports the bot to a location |
| Server Messages |
#announce [text] | Announce in game |
#channelmessage {Channel ID} {Message} | Posts a message in the channel you specify in the command |
#console | Prints a message to the console, can be used to check variables you defined earlier, e.g. #console( ) |
#global [text] | Post in global chat in game |
| World Events |
#currentworldevent | Returns the name of the current World Event - useful for debugging or as a condition in the IF/ELSE |
#events | This will toggle the admin settings for the in-game events. It will toggle blindly and NOT set particular on/off) |
#loot | This will set the loot spawn rates. The Line is from the top (choices of 4 line) and Value is the desired value to be set and can be whole number or one decimal place and MUST be used with a period as separator (4 and 7.6 are acceptable values). You do not have to include all lines. |
| Vehicles & Taxi |
#DisableTaxi "TAXINAME" | Will automatically Disable a taxi and reload the Taxi channel |
#EnableTaxi "TAXINAME" | Will automatically Enable a taxi and reload the Taxi channel |
| Admin Tools |
#consoleonly | Allows you to see the actions of the task in the console so you don't have to worry about it being executed on the server live. Note: This does not print the settings changes like #sentries or #raids (they would actually be sent to IGC if they were in the task) |
#LastRanHours("TASKNAME") | You need to specify the task name and it will return an amount in Hours since that task was last ran |
#LastRanMinutes("TASKNAME") | You need to specify the task name and it will return an amount in Minutes since that task was last ran |
#location {Coordinates} | Sets a location to be used later on in tasks. Format = #location "X Y Z" |
#sentries | This will toggle the admin setting for the Sentries. It will toggle blindly and NOT set particular on/off) |
#var_VARNAME | Creates a variable to be used later in the task, replace VARNAME with whatever you want |
| General |
#clearchannel | Clears the channel you set earlier, can also be written with a specific channel, e.g. #clearchannel {Channel ID} |
#maptpto3pm | Not recommended to use but creates a map in a channel at random coordinates |
#publishserversettings | This will publish the server settings to your server. Server Restart will be required for changes to take. Used along with ServerSetting command. |
#Random(MIN, MAX) | This will return a random number between the min and the max values and only usable in a variable right now. |
#random3pmcoordinates | Grabs a random coordinate for a location, with a Z valid on the ground. Can be used to create a location variable, e.g #Var_location (#random3pmcoordinates) |
#randomcoordinates | Grabs a random coordinate with a pure random X and Y portion and a z=0 |
#restartremainingtime | Will allow you to post in game when a server restart is expected. |
#ServerSetting("SettingName") | Use this to get a server setting value - NOTE: BACK UP YOUR SERVER SETTINGS BEFORE PLAYING WITH THIS ONE |
#ServerSetting("SettingName", "New value") | Use this to set a server setting value, e.g. #ServerSetting("ServerName", "MY AWESOME SERVER!") (ServerName has a max of 64 characters, if you go over this you get the SCUM Server default name) |
#wait | Pauses the IGC before processing anything else |