This is an example for item buffer you need to put your item name there also.. put it up of this line;
}
catch (Exception e)
{
something like that;
+ else if (_command.startsWith("item_"))
+ {
+ String command = _command.split(" ")[0];
+
+ IBufferCommandHandler bch = BufferCommandHandler.getInstance().getBufferCommandHandler(command);
+
+ if (bch == null)
+ {
+ if ( activeChar.isGM() )
+ activeChar.sendMessage("The command " + command.split("_")[0] + " does not exists!");
+
+ _log.warning("No handler registered for buffer command '" + command + "'");
+ return;
+ }
+
+ bch.useBufferCommand(_command, activeChar);
+ }
}
catch (Exception e)
{