Jump to content
  • 0

Help Multisell Community !


0flee
 Share

Question

Hello, i need help to make multisell available on TopBBSManager.java. I do something, but won't work. My code looks like this!
 

else if (command.startsWith("_bbsmultisell"))
		{
			if (activeChar.isDead() || activeChar.isAlikeDead() || activeChar.isOnEvent() || activeChar.isInSiege() || activeChar.isCastingNow() || activeChar.isInCombat() || activeChar.isAttackingNow() || activeChar.isInOlympiadMode() || activeChar.isJailed() || activeChar.isFlying() || (activeChar.getKarma() > 0) || activeChar.isInDuel())
			{
				activeChar.sendMessage("You cannot use this now!");
				return;
			}
			StringTokenizer st = new StringTokenizer(command, ";");
			st.nextToken();
			TopBBSManager.getInstance().cbByPass("_bbstop;" + st.nextToken(), activeChar);
			int multisell = Integer.parseInt(st.nextToken());
			MultisellData.getInstance().separateAndSend(multisell, activeChar, null, false);
		}
		separateAndSend(content, activeChar);
		

And bypass of button:
 

bypass _bbsmultisell 90500

Project: L2j-Sunrise 2021 ( Latest Update ! )

Fixed by @Psygrammator. Many thank's for this DEV! "DEV" Because it is like one! Real! +1 bro!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock