Advertisement
SirBaconBitz

functions

May 3rd, 2014
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. function check(id, dmg)
  2.   itembox = bridge.addGradientBox(20,20,60,50,0xFFFFFF,0,0x00FFFF,0.5,2)
  3.   item = bridge.addIcon(30,30,id,dmg)
  4.   amount = interface.countOfItemType(id,dmg)
  5.   qty = bridge.addText(30,50,"Qty: "..tostring(amount),0xFFFFFF)
  6. end
  7.  
  8. function termerr(msg)
  9.   error = bridge.addText(10,10,msg,0xFF0000)
  10.   sleep(5)
  11.   bridge.clear()
  12. end
  13.  
  14. shell.run("cmd")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement