A Lua library full of random functions made by me for me!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scupake 81424ca9a7
Added a bad desc for the map function
3 months ago
LICENSE Added a map() function and changed the license to MIT 5 months ago
README.md Fixed license badge 5 months ago
sleepy.lua Added a bad desc for the map function 3 months ago

README.md

Sleepy

A Lua library full of random functions made by me for me!


Language License: MIT Maintained

Features

  • Automatically "turning" strings into tables.
  • Random functions.

Usage

First, put sleepy.lua in the same directory as your Lua file.

-- Then load it by writing this:
require "sleepy"

local string = "Hello!"
-- That string will automatically get turned into a table, so you can do stuff like this:
io.write(string[1])
-- Which will print "H".

-- To make the program *wait* for 2 seconds you can use this:
os.sleep(2)

-- To slowly write text you can use this:
io.swrite("Hello world!")