Jump to content
  • 0

R> Script Server Time NPC


Archetype Saber

Question


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

an NPC that Display the current time of the sever with a format of HR/MIN/SEC

time ticking every seconds. I think there is something to do with LOOP. err.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


prontera,150,150,0 script Timer 100,{

     OnInit:

          while (1) {

               delwaitingroom;

               waitingroom ""+gettimestr("%H:%M:%S", 10)+"",0;

               sleep 1000;

          }

          end;

}

  • Upvote 2
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...