Jump to content

Question

Posted

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!

1 answer to this question

Recommended Posts

Posted

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;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...