Jump to content
  • 0

Question

Posted

Npc that will check if you are 99/70 and will then give you your reward. ( I can write a script for this ) the problem is how to make it once per character.

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

set a character variable and check it.

if (NotEverReachedMaxLevelSinceForever){
    set NotEverReachedMaxLevelSinceForever, 0;
} else {
    mes "You have already reached the max level";
    close;
}
Edited by Ninja
  • 0
Posted

use set Once,1;

 

if (once == 1 ) L_Sorry

 

L_sorry:

mes " Test"

end;

 

I'll try this thanks. BTW does these variables stays what they are after I set them? even after a scipt reload? or basic server restart?

 

set a character variable and check it.

if (NotEverReachedMaxLevelSinceForever){
    set NotEverReachedMaxLevelSinceForever, 0;
} else {
    mes "You have already reached the max level";
    close;
}

 

 
I'll try this thanks. BTW does these variables stays what they are after I set them? even after a scipt reload? or basic server restart?

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