IPS TOONCES wrote:the script works flawlessly and has since day one (minus your revisions). I've never had any trouble enabling it using the console. I was just hoping to get it on the admin menu for other admins to use.
I don't think I fully understand how rconlist works. It seems pretty straightforward - an optional alias with a corresponding command. I tried using "rcon gg_knives_only 1" for the command and also simply "gg_knives_only 1"
Yeah. Version 0.3 should not have even loaded, and you should have been getting errors. This is all resolved in version 0.4.
Here's an example usage of a working rconlist.txt:
//
// rconlist.txt
//
// Place all your rcon commands that you want to
// execute on the server in here
//
// This file can use aliases.
//
// Aliases are what is shown in the menu system
// a nice way of presenting the commands.
// Aliases must be enclosed in quotes
//
// E.G. "Low Gravity"
//
// Do not put another quote inside like :-
//
// "Low "Gravity""
//
// The command after the alias is the real command
// executed.
//
// You do not have to use aliases but it makes the
// menu's easier to use if you do.
//
// Your old config files pre V1.0.8 will still work
// if you don't change them.
//
// Add you rcon commands here
// e.g exec server.cfg
"Default Server" exec server.cfg // Server.cfg
"Low Gravity" sv_gravity 150 // Low grav
"Normal Gravity" sv_gravity 800 // Normal gravity
"Add a bot" bot_add // Add a server bot
"Enable Knives Only" gg_knives_only 1
"Disable Knives Only" gg_knives_only 0
exec ed.cfg