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

What is wrong with my script?(SOLVED)

Asked by
IcyEvil 260 Moderation Voter
9 years ago

I consulted a scripting friend and He doesnt know what is wrong with my script, Im attempting to make something that can help people with math, Like you say 9 + 9 = 3 it will say Wrong but if you say 9 + 9 = 18 it will say Right ( Wrong/Right being in the OutPut) My script however is not working, and I have no Idea how to fix it, No errors, no Red lines to tell me something is wrong, Nothing.

Here is the script:

if 1e+040*0 == 355 then
 print('Right') 
 elseif  1e+040*0 == not 355 then
 print ('Wrong')
 end
1
Use "~=" for the term "Does not equal" in line 3. Necrorave 560 — 9y
0
Alright. IcyEvil 260 — 9y
0
IT WORKED THANKS >:D IcyEvil 260 — 9y
0
No problem, good luck! Necrorave 560 — 9y

Answer this question