Guest User

物品自動分類巨集

a guest
Jul 15th, 2016
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. 寄出
  2. /click MailFrameTab2
  3. /run for bag=0,4 do for slot=1,50 do local y=GetContainerItemLink(bag,slot) if y and imail(y) then UseContainerItem(bag,slot)end;end;end
  4. /run if (GetSendMailItem())~=nil then SendMail(mailname,"mail") end
  5. /click MailFrameTab1
  6.  
  7. 布甲
  8. /run mailname="ID-伺服器" function imail(l) if (select(7,GetItemInfo(l)))=="布甲" then return 1 end end
  9.  
  10. 皮甲
  11. /run mailname="ID-伺服器" function imail(l) if (select(7,GetItemInfo(l)))=="皮甲" then return 1 end end
  12.  
  13. 鎖甲
  14. /run mailname="ID-伺服器" function imail(l) if (select(7,GetItemInfo(l)))=="鎖甲" then return 1 end end
  15.  
  16. 鎧甲
  17. /run mailname="ID-伺服器" function imail(l) if (select(7,GetItemInfo(l)))=="鎧甲" then return 1 end end
  18.  
  19. 盾牌和副手
  20. /run mailname="ID-伺服器" function imail(l) local p=(select(9,GetItemInfo(l))) q="INVTYPE_" if p==q.."SHIELD" or p==q.."HOLDABLE" then return 1 end end
  21.  
  22. 非魔杖的武器
  23. /run mailname="ID-伺服器" function imail(l) if (select(6,GetItemInfo(l)))=="武器" and (select(7,GetItemInfo(l)))~="魔杖" then return 1 end end
  24.  
  25. 魔杖
  26. /run mailname="ID-伺服器" function imail(l) if (select(6,GetItemInfo(l)))=="武器" and (select(7,GetItemInfo(l)))=="魔杖" then return 1 end end
Advertisement
Add Comment
Please, Sign In to add comment