Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- I'm not gagged this time
- rednet.close("left")
- rednet.open("left")
- -- Yes sir I've been a bad boy
- dom = 6
- function iveBeenSoBad( spankme )
- sleep(0.25)
- rednet.send(dom, spankme)
- end
- math.randomseed(os.time())
- local iveBeenBad = math.random(50)
- while true do
- leather, fun, times = os.pullEvent()
- if leather == "rednet_message" then
- if fun == dom then
- print("Dom:"..tostring(times))
- if times == "init" then
- print("Sub:true")
- iveBeenSoBad("true") --I'm ready for it
- end
- if times == "guess" then
- print("Sub:"..tostring(iveBeenBad))
- iveBeenSoBad(tostring(iveBeenBad))
- end
- if times == "guessreceived" then
- iveBeenBad = math.random(50)
- iveBeenSoBad("verify")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement