Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am having struggles making this calculator script. help?

Asked by 5 years ago
function onChatted(msg, recipient, speaker)

local source = string.lower(speaker.Name)
      msg = string.lower(msg)

if (string.match(msg, "what is 5x5")) then
print(answer)
end

how would i go for making something like this i do not want it to do only 5x5 but other calculations aswell :/

p.s I dont have good knowledge on string manipulation, if you do it'd be very appreciated if you could help me out.

0
[[[ 5 x 5 is 25 ]]] Jan14th2019 -53 — 5y
0
You can thank me l8r. Jan14th2019 -53 — 5y

Answer this question