Jump to content
  • 0

How to check "sd->state.security" in a script commands


Question

Posted (edited)

How to check the state in a script, for example, 'sd->state.security' and also how to force set the state in a script

prontera,155,172,3	script	dwakjd	123,{
	if(state.security == 1) {
		mes "Your security is 0";
		close;
	}
		mes "Your security is 1";
		close;
}

 

Edited by Mice

1 answer to this question

Recommended Posts

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