Jump to content
  • 0

event


skuray

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   1
  • Joined:  07/16/18
  • Last Seen:  

I am sorry my english skills are bad
I need an event npc
that has (cutin)
that open every 2 in 2  hours and teleport the players to the event map if the event is open.And that announces in the game the opening of the event.
thank u

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

I didn't understand very well, but here you go:

prontera,100,100,4	script	Event	100,{

	if(.event_open) {
		cutin "cutin",1;
		sleep2 5000;
		warp "map",x,y;
	} else {
		mes "Event is not open.";
	}
	close;

OnMinute00:

	if(gettime(DT_HOUR)%4 == 0) {
		.event_open = 1;
		announce "Event is open for 5 minutes.",bc_all|bc_blue;
		sleep 5*60*1000; // 5 minutes open
		.event_open = 0;
	}
	end;

}

 

Edited by n0tttt
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   1
  • Joined:  07/16/18
  • Last Seen:  

I'm going to rephrase my text, forgive me.
I need an event that stays on every day at 9 pm and on weekends every 12 hours.
if the event is on the players teleport to the event map.

 

I need an Event Scrip that get working on monday to friday at 9 pm. On the weekends at 12:00(noon) to 00:00( midnight).
If on warp players to event map.
thank you

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