Maniascript with UASECO

This is a very complex topic and I can not add all of the facts, but I want to write down all of my investigations.

ManiaScript API Documentation:

ManiaScript Manialinks:

Additional links:


Maniascript: Array

How to use an Array? First you have to declare it:

Declare the Array

declare PlayerLogins = Integer[Text];

Pay attention to the fact that the type declaration for Array Keys is turned around,
you need to declare it reverse as you use the Array!

Insert data

declare Integer Index = 0;
foreach (Player in Players) {
	PlayerLogins[Index] = Player.Login;
	Index += 1;

Sort the Array by PlayerLogins and access the data (write to console)

PlayerLogins = PlayerLogins.sort();
foreach (Login in PlayerLogins) {

This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
Windows is a registered trademark of Microsoft Corporation.

Last modified: Wed, 17 Apr 2019 22:01:07 +0200