Advertisement
Arthur57980

Fonctions utiles

Aug 14th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.98 KB | None | 0 0
  1. local function s(...) return sleep(...) end
  2. local function w(...) return write(...) end
  3. local function p(...) return print(...) end
  4. local function tw(...) return term.write(...) end
  5. local function scp(...) return term.setCursorPos(...) end
  6. local function sbc(...) return term.setBackgroundColor(...) end
  7. local function stc(...) return term.setTextColor(...) end
  8. local function tc(...) return term.clear(...) end
  9. local function tcl(...) return term.clearLine() end
  10. local function scb(...) return term.setCursorBlink(...) end
  11. local function ts(...) return term.scroll(...) end
  12. local function r(...) return shell.run(...) end
  13. local function para(...) return parallel.waitForAny(...) end
  14. local function sw(...) return textutils.slowWrite(...) end
  15. local function sp(...) return textutils.slowPrint(...) end
  16. local blanc, orange, rose, bleuc, jaune, vertc, rosec, gris, grisc, cyan, violet, bleu, brun, vert, rouge, noir = 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement