HTOTM: FUSION
Original Post
Help Plz lua
ok ive been trying to make a script.. for example:

user types "/view" and script says "hi" its just a example.
for 6 hours searching google/forum. so what i wanna learn is
how to make script recognize the "/view" input...
and i know may be a noob question.
can the script read what other ppl say?.

any awnser is appreciated.
function console_input(text) --get user text
  if (text=="hi")then --check the text
    echo ("Hi to you too.") --do something
  end
  return 1 --don't show the original text
end

add_hook("console","",console_input) --make it work
Scripts can't recognize stuff like "/view" or "/hi". You need to write "/ec hi".
If you need to contact me do it here.