Save command question

So i know the way to script call save command: DataManager.save_game(0)
But, if the player is playing on another file? how can i set the command so it saves the current playing file?
DataManager.last_savefile_index is the index of the last saved or loaded game. It is 0 when the game is launched. So if they start a new game and you use DataManager.save_game(DataManager.last_savefile_index) it will save at index 0. I'm not sure if save files are meant to be numbered from 0, or from 1. I think it's from 1. You might have to be a bit clever there to tell it, if last_savefile_index is 0, find the highest-numbered save file that exists, then add 1 to it.
I dont understand at all....what i have to do to save the current playing save file?
DataManager.save_game(DataManager.last_savefile_index)
man, it doesnt seem to work as i want....when i load it, it loads the preveously save file....
Just trying to when you normal saving, after a few commands to save again without the player knowing it, so to load him in a specific line off command....
Forget it i found another solution about this

Original thread: https://forums.rpgmakerweb.com/threads/save-command-question.78291/