Page 1 of 1

//admin commands by normal users

Posted: Mon Dec 23, 2013 3:03 pm
by softmod123
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 6321
L2JDP Revision 10088

Hello guys i have simple question about commands like //admin
as i know this commands can use only admins with accesslevel = 7.
But how to make for example if normal user with accesslevel = 0 typing in chat command //get and then will happen something? Or just how to parse this commands and bind any action?
Ty.

Re: //admin commands by normal users

Posted: Mon Dec 23, 2013 6:31 pm
by krepstas
softmod123 wrote:If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 6321
L2JDP Revision 10088

Hello guys i have simple question about commands like //admin
as i know this commands can use only admins with accesslevel = 7.
But how to make for example if normal user with accesslevel = 0 typing in chat command //get and then will happen something? Or just how to parse this commands and bind any action?
Ty.
If normal user will use this command , nothing gonna happen. You can create what ever command you want,you have to create your own handler..
Btw core side is needed for this kind of custom command.
I don`t know how to make it,i just saw a lot example,so if you doesnt know anything about l2java coding it will not be easy. :)
Btw example of others command how it was made,search in forum.