1 | if message = = prefix and "test" then |
2 | print ( "gi" ) |
3 | end |
I tried making a script where typing the prefix ';' and 'test; to join together as ';test', it should print "gi". I tried using the code above this text and simply got no errors, no warnings, but nothing happened, can you help with this script?
PS. This if then statement is inside a Player.Chatted function.
You almost had it, here you go:
1 | if Message:lower() = = prefix.. 'test' then |
2 | print ( 'gi' ) |
3 | end |