Server Javascript scripting

Post your questions here
Post Reply
baker
Posts: 283
Joined: Sat Jul 30, 2011 1:43 pm

Server Javascript scripting

Post by baker »

Is there any way to run commands like forcespec or kick from the server javascript files similar to the chat admin commands here?viewtopic.php?f=1&t=13510

Looking at the readme w/ the server javascript files I don't see anything so I figured I'd ask here :)

The main thing I'm trying to accomplish is fetching a list of riders signed up for a particular race and either force specing or kicking, similar to how RF races run after UID grab.
baker
Posts: 283
Joined: Sat Jul 30, 2011 1:43 pm

Re: Server Javascript scripting

Post by baker »

Gonna answer myself for others reference.

Code: Select all

mxserver.schedule_command("at 0 kick "+ slot);
Post Reply