I get this error, when this trigger fires.
Error number: -2147352567
Event: Execution of line 2 column 0
Description: Traceback (innermost last):
File "<Script Block 29>", line 10, in ?
world.doAfter(timeStop, test("Jonathan"))
File "<COMObject world>", line 2, in doAfter
COM Error: Type mismatch. (0x80020005)
Line in error:
Called by: Immediate execution
here is the script here:
import random
number = int(random.randrange(0, 4))
timeStop = int(random.randrange(5, 10))
def test(flow):
testList = "Welcome to Evarayn \" + flow + \", If you have any questions just ask!", "Hello there \" + flow + \", If you're in need of help or anything, just ask!", "Glad you could make it \" + flow + \", need help, just ask!", "-bows to \" + flow + \"- Welcome, Enjoy your stay, and if you need any help... just ask."
world.note("newbie " + testList[number])
world.doAfter(timeStop, test("%1"))
I know it was working fine until I added the timeStop and doafter... so its something to do with that, although I don't see why.. Anyone help with this is much appreciated.
Error number: -2147352567
Event: Execution of line 2 column 0
Description: Traceback (innermost last):
File "<Script Block 29>", line 10, in ?
world.doAfter(timeStop, test("Jonathan"))
File "<COMObject world>", line 2, in doAfter
COM Error: Type mismatch. (0x80020005)
Line in error:
Called by: Immediate execution
here is the script here:
import random
number = int(random.randrange(0, 4))
timeStop = int(random.randrange(5, 10))
def test(flow):
testList = "Welcome to Evarayn \" + flow + \", If you have any questions just ask!", "Hello there \" + flow + \", If you're in need of help or anything, just ask!", "Glad you could make it \" + flow + \", need help, just ask!", "-bows to \" + flow + \"- Welcome, Enjoy your stay, and if you need any help... just ask."
world.note("newbie " + testList[number])
world.doAfter(timeStop, test("%1"))
I know it was working fine until I added the timeStop and doafter... so its something to do with that, although I don't see why.. Anyone help with this is much appreciated.