problem with deleteOldProfiles() script

Post Reply
Kurtzisa
Posts: 8
Joined: Fri Sep 02, 2022 4:38 pm

problem with deleteOldProfiles() script

Post 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?

Kurtzisa
Posts: 8
Joined: Fri Sep 02, 2022 4:38 pm

Re: problem with deleteOldProfiles() script

Post by Kurtzisa »

i found the error...

Code: Select all

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

Post Reply