Jump to content
  • 0

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


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

hello,is anyone got the script?

auto pvp mode on in Prontera for 2 hours a day...

Bump

Edited by donkeyg
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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 );
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

 

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   7
  • Joined:  02/27/12
  • Last Seen:  

 

 

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

 

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

Link to comment
Share on other sites

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.

×
×
  • Create New...