Jump to content
  • 0

need help for waiting room


Takuyakii

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.02
  • Content Count:  215
  • Reputation:   11
  • Joined:  08/30/19
  • Last Seen:  

Hello can someone help me to make this

what i want to happen is waiting room on npc

but it will fetch or get the 

/* Time Events */
/* On<weekday><hour><minute>: */
OnWhisperGlobal:
OnSun1200:
OnMon1200:
OnTue1200:
OnWed2233:
OnThu1200:
OnFri1200:
OnSat1200:



for example in waiting room

Example today is Wednesday
it will get the time for Thursday

Activate in (TIME)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  157
  • Reputation:   37
  • Joined:  05/15/20
  • Last Seen:  

image.png.669bdcf24aaefd389d5eb42f00ea6439.png
This will be automatically updated once the server time reach 00:00.

prontera,161,185,3	script	Day of The Day	100,{
	end;
	OnInit:
		while(1){
			.@day = gettime(DT_DAYOFWEEK);
			if(.@day == 0)
				.@day$ = "Sunday";
			if(.@day == 1)
				.@day$ = "Monday";
			if(.@day == 2)
				.@day$ = "Tuesday";
			if(.@day == 3)
				.@day$ = "Wednesday";
			if(.@day == 4)
				.@day$ = "Thursday";
			if(.@day == 5)
				.@day$ = "Friday";
			if(.@day == 6)
				.@day$ = "Saturday";
			waitingroom "Today is "+.@day$+"!",0;
			sleep 100;
			delwaitingroom;
		}
	end;
}

 

Edited by KazumaSatou
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...