Jump to content
  • 0

Block @item2 and @produce


madtoyz

Question


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

im user of rAthena Revision 16758

may i know how to block @item2 and @produce ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

From... who? If a group other than 'admin' has the permission, remove it from conf\groups.conf; if you want to remove it from the 'admin' group, you could do one of two things:

  • Remove this permission:
    all_commands: true


    Then add all the commands you want admins to have manually.

  • Use bindatcmd to block the two scripts:
    -    script    block_atcmd    -1,{
    OnInit:
       bindatcmd("item2",strnpcinfo(0)+"::OnBlock",99,99);
       bindatcmd("produce",strnpcinfo(0)+"::OnBlock",99,99);
       end;
    OnBlock:
       message strcharinfo(0),"This command is disabled.";
       end;
    }


Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

where i can find the bindatcmd ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  142
  • Reputation:   10
  • Joined:  01/21/12
  • Last Seen:  

item2nproducecmddisabledone.jpg

thanks,its solve...

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

where i can find the bindatcmd ?

Bindatcmd

it's added in script command in rAthena..

if you are using eA ,..you can just try adding the diff manually check tracker or ToastOfDoom's Topic in old eA forum.

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