I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
You should always provide a link to the script you're using, to make it easy for people to look it up and help you. You could also have just posted in that thread and asked for help with the correct way to call it, posted your screenshots, and I would have helped you out
😉
Extended Game Timers
Your second page is wrong. But the script call is ALMOST right on the first page. You are passing the wrong parameters through to the script. And you have a few other issues with your event. You need to pass the map NUMBER, not the NAME. And don't put leadings zeros. I can't see your map number, but let's assume it's 23. Your event number is 13, and you want self switch A turned ON when she cooks for you, then OFF after half an hour so she'll cook again.
So on tab 1, where she cooks for you, put the following:
Script: $game_system.set_timer(30, [@map_id, @event_id, 'A'], false)Control Self Switches: A = ONOn tab 2, change it back to action button, get rid of the script, and put in whatever you want to happen when you talk to her when she's NOT ready to cook something for you.[@map_id, @event_id, 'A'] says to modify self switch A of the current event on the current map. This is good to use if you want to duplicate the same event several times - you don't have to go in and change the map and event numbers on each of them. You could also have written this:
Script: $game_system.set_timer(30, [23, 13, 'A'], false)And if it doesn't all fit on a single line, you're correct in putting the line break after a comma, or you could also put it after ( or [