Jump to content
  • 0

How to change Var at tomorrow


Vietlubu

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  141
  • Reputation:   24
  • Joined:  01/19/12
  • Last Seen:  

prontera,153,167,6 script NPC 100,{
mes "Hi";
set .Get,1;
close;
}

how to change Get = 0 at tomorrow

thank for help! /lv

Edited by choidk
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   13
  • Joined:  11/14/11
  • Last Seen:  

You could try using:

prontera,153,167,6 script NPC 100,{
mes "Hi";
set .Get,1;
close;


OnHour00:
set .Get,0;
}

When your server hits the 00 Hours, it will set the variable to 0.

Now, i don't know if the NPC it's attached by default, but the most probably it's that it's attached by default.

(in other words, you don't need to worry, the script will work fine).

Good Luck!

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  141
  • Reputation:   24
  • Joined:  01/19/12
  • Last Seen:  

You could try using:

prontera,153,167,6 script NPC 100,{
mes "Hi";
set .Get,1;
close;


OnHour00:
set .Get,0;
}

When your server hits the 00 Hours, it will set the variable to 0.

Now, i don't know if the NPC it's attached by default, but the most probably it's that it's attached by default.

(in other words, you don't need to worry, the script will work fine).

Good Luck!

thank. i try is now.

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