open item and chest script

M2Bob Forum 2021

[2021] M2Bob plans & New Forum overview

More information here: Important topics

Old M2Bob Forum: M2Bob.eu


  • #thank you 123klo

  • Why not this?

    Code
    import player, event, net ,chr ,char ,chat,net
    SLOT_COUNT = player.INVENTORY_PAGE_COUNT*player.INVENTORY_PAGE_SIZE
    ORG_CHAT_PACKET = net.SendChatPacket
    OPEN_CHEST_COUNT = 50
    
    
    for i in xrange(SLOT_COUNT):
        if player.GetItemIndex(i) == ITEMID:
            for i in xrange(OPEN_CHEST_COUNT ):
                net.SendItemUsePacket(i)

    CIsig.gif

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!