@ponapalt In my attempt to migrate taromati2's recycle bin cleanup related functions from gomi saori to \![execute,emptyrecyclebin], I noticed that gomi saori might return a value indicating failure, but if ssp does \![execute,emptyrecyclebin] will only trigger OnRecycleBinEmpty, does this mean that ssp's emptying of the recycle bin will not have a failure or I need to check the args of event? :meow_thinking:
And also, if other ghosts do \![execute,emptyrecyclebin], is the OnRecycleBinEmpty triggered only for the ghost executing the sakura script?
Conversation
Notices
-
steve (steve02081504@ukadon.shillest.net)'s status on Tuesday, 07-Mar-2023 19:37:22 JST steve -
ぽな (C.Ponapalt) (ponapalt@ukadon.shillest.net)'s status on Tuesday, 07-Mar-2023 19:37:22 JST ぽな (C.Ponapalt) A1.
OnRecycleBinEmpty
reference[0] == 0 && reference[2] == 0 => already empty
reference[0] == 0 && reference[2] != 0 => success
reference[0] != 0 => some error occured and cannot delete fileA2.
All ghosts will be notified. -
steve (steve02081504@ukadon.shillest.net)'s status on Tuesday, 07-Mar-2023 19:41:44 JST steve @ponapalt thanks there!
A1. can we give OnRecycleBinEmpty a few more variants of event to more clearly distinguish the result?
A2. I'd like to ask you to add a new parameter or some other way for ghost to distinguish if OnRecycleBinEmpty is triggered by itself! :blobok:
-