I have a CSGO server I host as just a practice server for my discord, and I have been trying to find a way for users to easily change the tickrate of the server for nade lineups. I found this (
https://forums.alliedmods.net/showthread.php?t=319147) plugin which lets me easily change it from console, but I want it to be user facing so the tickrate can be changed just from a chat command. From my (VERY very limited) understanding of sourcemod plugins, if a cvar is created with the sm_ prefix, there is an auto generated chat trigger. The issue is that the included cvars don't use the sm_ prefix, and while I do have access to the .sp file so I can change the cvar, it gives me an error while compiling. I probably need some 3rd party dependency but I don't know what it is.
I found a plugin that looks like it lets you make custom chat triggers here (
https://github.com/MoritzLoewenstein/ChatTriggers), but it gives an error on startup and I don't know sourcemod well enough to even attempt to fix it
Is there a super easy way to do this and I'm just stupid? How am I supposed to make a chat trigger for a console command?