Jump to content
  • 0

Item Script that does an atcommand after some time.


Pink Guy

Question


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Ok. Let's say I want my item script to have the primary command @save. What I want to happen is after 1 week(Number of ticks: 604800000) there will be another command that will just @save again.

My current item script is:
I want it to @save again after 1 week.(doing another command after 1 week).

 

[ITEM],2,2,,20,,,,,0xFFFFFFFF,15,2,,,,,,{ atcommand "@save"; },{},{}
 

 

 

Please help. If ever my explanation is really hard to understand, please tell me and I'll try my best to re-phrase it so you can understand it. Emistry informed me that I need to use gettimetick and addtimer but I don't know how to use the function.

Edited by Instinct
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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