Jump to content
  • 0

Can I request security using can_trade: false


Question

Posted

Can I request a npc that set a password and use this command can_trade: false for lock and can_trade: true for unlock if you enter a correct password??

bump!!

12 answers to this question

Recommended Posts

Posted

Not sure if there command to invoke ID's trade, but you can try make Group ID 0 can trade, Group ID 1 can't trade. If a "Locked" player login, use OnPCLoginEvent to atcommand "@adjgroup 1 "+strcharinfo(0). I'm lazy to write the whole script, work a little bit :P

Posted (edited)

        mes "[Account Manager]";
       mes "Password is now set. Account will be locked upon log out.";
       set .@Pass$, #AccPass$; // <----- THIS LINE
       set #AccLock, 1;
       atcommand "@adjgroup 1 " + strcharinfo(0);
       close;

can I ask what that line means ?

also please make sure to do some protection so a GM will not get demoted <.<

Edited by AnnieRuru

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