Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c = require("component")
- local cb = c.chat_box
- local e = require("event")
- local pc = require("computer")
- cb.setName("§aGrand§8")
- function msg(msgm, nick)
- if nick=="Barawik_" then
- cb.say("Barawik_: "..msgm)
- end
- end
- while true do
- local _,_,nick,msga =e.pull(1,"chat_message")
- if msga~=nil and nick~=nil then
- msg(msga,nick)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement