Jump to content
  • 0

Multisell Community !


Question

Posted

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!

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...