Takuyakii Posted May 29, 2024 Posted May 29, 2024 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) Quote
0 KazumaSatou Posted May 30, 2024 Posted May 30, 2024 (edited) 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 May 30, 2024 by KazumaSatou Quote
Question
Takuyakii
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
for example in waiting room
Example today is Wednesday
it will get the time for Thursday
Activate in (TIME)
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.