morphsx Posted May 2, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 01/31/13 Last Seen: May 27, 2014 Share Posted May 2, 2013 Hello guys, i'm starting on scripting, and I would like some help with the "Find the Mushroom" event that comes with rathena. I would like to know how do to restart it every 30 minutes even if there are still mushrooms left. I´m studying the scripts documentation, and soon i will stop bothering you with these questions. But at the moment i don't know how to do. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Euphy Posted May 2, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted May 2, 2013 Here are the relevant parts of the script: OnMinute10: // Start time (every hour) if (.Status) end; set .Status,1; //... announce "The Find the Mushroom Event has ended. All the Mushrooms have been killed.",0; set .Status,0;The .Status NPC variable is set when the event starts, and is unset when it ends. You want to replace the first section with this:OnMinute00: OnMinute30: set .Status,1; Quote Link to comment Share on other sites More sharing options...
Question
morphsx
Hello guys, i'm starting on scripting, and I would like some help with the "Find the Mushroom" event that comes with rathena.
I would like to know how do to restart it every 30 minutes even if there are still mushrooms left.
I´m studying the scripts documentation, and soon i will stop bothering you with these questions. But at the moment i don't know how to do.
Thanks in advance!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.