Jump to content
  • 0

Question

Posted

How To Modife This Script to not use symbol _?

 

in this way it's not working

 

 

public void handleBypass(L2PcInstance activeChar, String command)

{

if(!CustomConfig.AIOITEM_ENABLEME)

return;

 

if(!checkPlayerConditions(activeChar))

return;

 

activeChar.setTarget(activeChar);

 

String[] SubCmd = command.split("_");

 

IAIOItemHandler handler = AIOItemHandler.getInstance().getAIOHandler(SubCmd[1]);

 

if(handler != null)

handler.onBypassUse(activeChar, SubCmd[2]);

}

 

 

Thanks for Help Every Body

3 answers to this question

Recommended Posts

  • 0
Posted

i have a problem and i need help thats all !!!

 

my  error is here and if i can to fix it i dont post anything here ;)

 

public void handleBypass(L2PcInstance activeChar, String command)

  {

      if(!CustomConfig.AIOITEM_ENABLEME)

        return;

     

      if(!checkPlayerConditions(activeChar))

        return;

     

      activeChar.setTarget(activeChar);

     

      String[] SubCmd = command.split("_");

     

      IAIOItemHandler handler = AIOItemHandler.getInstance().getAIOHandler(SubCmd[1]);

     

      if(handler != null)

      handler.onBypassUse(activeChar, SubCmd[2]); 

  } 

  • 0
Posted
How To Modife This Script to not use symbol _?

 

Think:

 

String[] SubCmd = command.split("_");

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..