To run a script, the following is necessary
- The script file is present on your server
- The server's game mode is set to 0 (=Script) in the matchsettings file
- The script's file name is specified as the script in the matchsettings file
Upload the script to your Scripts/Modes/TrackMania or Scripts/Modes/ShootMania using your FTP account.
Change these lines in your matchsettings file in the folder Maps/Matchsettings:
<game_mode>2</game_mode>
<script_name></script_name>
to
<game_mode>0</game_mode>
<script_name>my_script.txt</script_name>
After that, restart your server.