Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

makkarpov

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by makkarpov

  1. It's a EEPROM code, there is no event.pull, so these functions are equivalent.
  2. You can use this code for passwordless door: local user = { "user1", "user2", "user3" } local red = component.proxy(component.list("redstone")()) local scr = {} local gpu = {} for a in component.list("screen") do table.insert(scr, a) end for a in component.list("gpu") do table.insert(gpu, component.proxy(a)) end for i = 1, #gpu do gpu[i].bind(scr[i]) end function showState(s) for i, g in ipairs(gpu) do g.setResolution(40, 20) g.fill(1, 1, 40, 20, " ") if s then g.setForeground(0x00FF00) g.set(16, 10, "Access denied") else g.setForeground(0xFF0000)
  3. You can also read nicknames from a touch event and do not use passwords at all - if passing nicknames to events is enabled in server config, of course. In most cases it is enabled.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.