Jump to content
  • 0

(Help) auto pvp mode on in Prontera for 2 hours


Question

5 answers to this question

Recommended Posts

Posted

my script trigger every 6 hour ....12AM 6AM 12PM 6PM

sleep ( 120 * 60000 );    //  120 * 60 second = 120 minute = 2 hours.

if want 1 hour duration..just change to

sleep ( 60 * 60000 );
Posted

you can write like this

-	script	Sample#auto_pvp	-1,{

OnClock0600:
OnClock1200:
OnClock1800:
OnClock0000:
	pvpon "prontera";
	announce "PVP ON",bc_all;
	sleep ( 120 * 60000 );
	pvpoff "prontera";
	announce "PVP OFF",bc_all;
	end;
}
Posted

 

you can write like this

-	script	Sample#auto_pvp	-1,{

OnClock0600:
OnClock1200:
OnClock1800:
OnClock0000:
	pvpon "prontera";
	announce "PVP ON",bc_all;
	sleep ( 120 * 60000 );
	pvpoff "prontera";
	announce "PVP OFF",bc_all;
	end;
}

if just 1 hour?

Posted (edited)

 

 

you can write like this

-	script	Sample#auto_pvp	-1,{

OnClock0600:
OnClock1200:
OnClock1800:
OnClock0000:
	pvpon "prontera";
	announce "PVP ON",bc_all;
	sleep ( 120 * 60000 );
	pvpoff "prontera";
	announce "PVP OFF",bc_all;
	end;
}

if just 1 hour?

 

 

If you want it every hour, you can change the OnClock settings.

OnClock0100:

OnClock0200:

OnClock0300:

and so on...

 

As per your question, you wanted an Auto PvP 2 hours per day? Or every 2 hours? Because the script Emistry gave you will enable PvP every 2 hours. Just wanna clarify..

Edited by Jyabil
Posted

 

my script trigger every 6 hour ....12AM 6AM 12PM 6PM

sleep ( 120 * 60000 );    //  120 * 60 second = 120 minute = 2 hours.

if want 1 hour duration..just change to

sleep ( 60 * 60000 );

thaks, how about vendors are cannot hit by people.??

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...