As you already know, in sploop.io the console is no longer working, or rather, the output to the console. Perhaps you would like to continue using it? If yes, then use this script.
Per
Dit zijn versies van het script waarin de code is bijgewerkt. Alle versies tonen.