Facebook
From carltonduke, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 171
  1. chatBox = peripheral.find("chatBox")
  2.  
  3. function magic(text) -- So  i can easly just do &6Hello; and it would format it to §6Hello.
  4.   r,_ = string.gsub(text,"&","\194\167")
  5.   return r
  6. end
  7.  
  8. while true do
  9.   local _,_,u,m = os.pullEvent("chat_message")
  10.   if m == "/ax help" then
  11.         chatBox.say(magic("&2In; progress"))
  12.    else
  13.  chatBox.say(magic("&6The; Goat, Axonos is currently &eAFK;"))
  14.  chatBox.say(magic("&4So; go ahead and pull that smart phone out. You know how to contact him. Shoot him a Grok-AI powered DM on X, his favorite everything   app."))
  15.   end
  16. end
  17.  
  18.