mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +00:00
Dumb eval location
This commit is contained in:
parent
2cef340b91
commit
1b19f9b485
1 changed files with 7 additions and 7 deletions
14
Classic/scripts/server.cs
Normal file → Executable file
14
Classic/scripts/server.cs
Normal file → Executable file
|
|
@ -2047,13 +2047,13 @@ function serverCmdSet(%client, %type, %val)
|
||||||
messageClient( %client, 'MsgAdmin', '\c2Unknown input value. 0 disables Fair Teams, 1 enables Fair Teams.' );
|
messageClient( %client, 'MsgAdmin', '\c2Unknown input value. 0 disables Fair Teams, 1 enables Fair Teams.' );
|
||||||
}
|
}
|
||||||
// z0dd - ZOD, 7/17/03. Allow super admins to issue console commands on the server.
|
// z0dd - ZOD, 7/17/03. Allow super admins to issue console commands on the server.
|
||||||
case "consolecmd":
|
// case "consolecmd":
|
||||||
if($Host::ClassicAllowConsoleAccess)
|
// if($Host::ClassicAllowConsoleAccess)
|
||||||
{
|
// {
|
||||||
eval(%val);
|
// eval(%val);
|
||||||
messageClient( %client, 'MsgAdmin', '\c2Command %1 sent to server console.', %val );
|
// messageClient( %client, 'MsgAdmin', '\c2Command %1 sent to server console.', %val );
|
||||||
logEcho(%client.nameBase @ "Send the console command " @ %val @ " to the server.", 1);
|
// logEcho(%client.nameBase @ "Send the console command " @ %val @ " to the server.", 1);
|
||||||
}
|
// }
|
||||||
|
|
||||||
default:
|
default:
|
||||||
messageClient(%client, 'MsgValueFailed', '\c2No Changes. You did not specify a valid type.');
|
messageClient(%client, 'MsgValueFailed', '\c2No Changes. You did not specify a valid type.');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue