Jump to content
  • 0

How to change Var at tomorrow


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

Posted

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
Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...