Mice Posted August 10, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 78 Reputation: 19 Joined: 12/24/18 Last Seen: 9 hours ago Share Posted August 10, 2024 (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 August 10, 2024 by Mice Quote Link to comment Share on other sites More sharing options...
0 Mice Posted August 14, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 78 Reputation: 19 Joined: 12/24/18 Last Seen: 9 hours ago Author Share Posted August 14, 2024 Solve using custom string Quote Link to comment Share on other sites More sharing options...
Question
Mice
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; }
Link to comment
Share on other sites
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.