Posted 14 March 2015 - 03:56 PM
So im new to computer craft and im making an antivirus already made an working virus but it gives me this error and i need help
error : Error antivirus:8: expected number, number
Can you help me dont understand what i did wrong and thats a fake ip xD
Code :
[html]textutils.slowPrint("Antivirus is being runned please wait")
textutils.slowPrint("One virus found")
print("Name:FakeShell.run")
print("Ip:198.0.249.2")
print("Maker:Madara")
textutils.slowPrint("Disabling all virus,please wait . . .")
sleep(1)
term.setCursorPos("18, 1")
print("Progress Bar")
term.setCursorPos("18, 2")
textutils.slowPrint("#")
sleep(2)
term.setCursorPos("18, 2")
textutils.slowPrint("##")
sleep(2)
term.setCursorPos("18, 2")
textutils.slowPrint("###")
sleep(1)
term.setCursorPos("18, 2")
textutils.slowPrint("########")
sleep(4)
term.setCursorPos("18, 2")
textutils.slowPrint("###############")
sleep(10)
[/html]
error : Error antivirus:8: expected number, number
Can you help me dont understand what i did wrong and thats a fake ip xD
Code :
[html]textutils.slowPrint("Antivirus is being runned please wait")
textutils.slowPrint("One virus found")
print("Name:FakeShell.run")
print("Ip:198.0.249.2")
print("Maker:Madara")
textutils.slowPrint("Disabling all virus,please wait . . .")
sleep(1)
term.setCursorPos("18, 1")
print("Progress Bar")
term.setCursorPos("18, 2")
textutils.slowPrint("#")
sleep(2)
term.setCursorPos("18, 2")
textutils.slowPrint("##")
sleep(2)
term.setCursorPos("18, 2")
textutils.slowPrint("###")
sleep(1)
term.setCursorPos("18, 2")
textutils.slowPrint("########")
sleep(4)
term.setCursorPos("18, 2")
textutils.slowPrint("###############")
sleep(10)
[/html]