Jump to content
  • 0
kalabasa

How to make a message prevent from closing

Question

i am using callshop and after a couple of minutes the close button will pop out

switch(select("Taming Item Shop")) {

case 1:
close2;
mes "this message will not close ";
callshop "MvP HG Shop", 0;
break;

}

do not close.PNG

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

doc/script_commands.txt

 

*ignoretimeout <flag>{,<char_id>};

Disables the SECURE_NPCTIMEOUT function on the character invoking the script,
or by the given character ID/character name.

Valid flag:
 0 - Enabled SECURE_NPCTIMEOUT.
 1 - Disable SECURE_NPCTIMEOUT.

Note: SECURE_NPCTIMEOUT must be enabled for this to work.

 

Link to comment
Share on other sites

  • 0
2 hours ago, kalabasa said:

i am using callshop and after a couple of minutes the close button will pop out

switch(select("Taming Item Shop")) {

case 1:
close2;
mes "this message will not close ";
callshop "MvP HG Shop", 0;
break;

}

do not close.PNG

 

src\config\secure.hpp

#define SECURE_NPCTIMEOUT

but I'm not sure if it's going to work. because there is an issue on it which is not fixed for a very long time.

Link to comment
Share on other sites

  • 0

close button still appearing to me or i am  doing it wrong? and i already enable the secure_npctimeout

 

next;
mes "this message will not close ";
ignoretimeout 1;
callshop "MvP Shop", 0;
break;

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