Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def socketItemsInInvToTali():
- global talisUID
- itemsToSock = []
- for Item in Player.Inventory.Values:
- if ((Item.UID != talisUID) & (Item.Plus==0) & (Item.ItemType % 10 >= 6) & (((Item.ItemType / 1000 >= 111) & (Item.ItemType / 1000 <= 160)) | ((Item.ItemType / 1000 >= 201) & (Item.ItemType / 1000 <= 203)) | ((Item.ItemType / 1000 >= 410) & (Item.ItemType / 1000 <= 610)))):
- itemsToSock.append(Item.UID)
- for iUID in itemsToSock:
- Player._ToServer.TalismanSocket(talisUID, iUID)
- def OnDC():
- global Active
- Active = False
- def OnLogin():
- global Active
- Active = True
- Active = True
- talisUID = 12345678
- while True:
- global Active
- if Active:
- socketItemsInInvToTali()
- Player._Tools.Sleep(10000)
Add Comment
Please, Sign In to add comment