Page 1 of 1

problem with deleteOldProfiles() script

Posted: Tue Oct 01, 2024 9:21 am
by Kurtzisa
in the example i have

Code: Select all

deleteOldProfiles(10, true)
so i send this command

Code: Select all

lua deleteOldProfiles(10, true)
but i have this error

Code: Select all

        <[string "Script: deleteOldProfiles script"]:11: Wrong type for delete_folder; expected 
string, got boolean>
any suggestion?

Re: problem with deleteOldProfiles() script

Posted: Tue Oct 01, 2024 9:50 am
by Kurtzisa
i found the error...

Code: Select all

lua deleteOldProfiles(5, "profiles")
work...