AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] AutoSendCommandConsole (v0.2, 2018-23-07) (https://forums.alliedmods.net/showthread.php?t=309370)

Kelvin 07-23-2018 18:23

[ANY] AutoSendCommandConsole (v0.2, 2018-23-07)
 
2 Attachment(s)
AutoSendCommandConsole


Description
I made this simple plugin to send commands by the console every X seconds (it was made to be compatible with Windows ... which no other type of this kind does.). I'm a beginner in programming, so I did something pretty basic. I realized that a lot of people needed a plugin with this function, besides, I needed to update my plug-in tags connected to the steam group of my server so that the new members received their tag without having to wait change the map. I'm sorry for my English, I'm Brazilian.

Cvars
  • sm_autosendcmdconsole_command "" // Command to send to the console (null = disabled).
    Default: 5 seconds
  • sm_autosendcmdconsole_interval "" // Number of seconds used for the repeat timer (0 = disabled).
    Default: sm_reloadccc

Installation instructions
  1. Download the file AutoSendCommandConsolev0.2.smx and put it in the addons/sourcemod/plugins folder
  2. Start the server to load the plugin or type in the console: sm plugins load AutoSendCommandConsolev0.2.smx
  3. Cvars, set the command and interval time in cfg/sourcemod/AutoSendCommandConsole.cfg

Changelog
Quote:

  • 07-20-18 | V 0.1 - Initial release.
  • 07-23-18 | V 0.2 - Bug fixes and adding cvars.



All times are GMT -4. The time now is 11:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.