[DEV] New console script

The Aternos forums are now deprecated

Learn more about this change here.

For help regarding Aternos, we recommend you to visit our support center.

  • Hi,


    I was fancying a way to get the last entered command in the console by pressing the up arrow so I wrote this piece of code in accordance with the actual ending script of "console.php". I think you'll understand where you should put it :


    I tried to do that with a string array to go back further in the command history (by registering each command in an array and setting the value of c-input as array[the number of times the user pressed the up arrow]) but I didn't succeed...


    I hope you'll accept my code,
    Regards,
    Paul

    Edited once, last by paulolol ().

  • Roman

    Closed the thread.