This script is currently not working as intended due to a bad comparison operator at line 405. The if statement is trying to compare a variable against type: int but the data being assigned to the variable in line 381 is type: string.
I fixed this by simple adding quotes around the comparison in line 405.
This script is currently not working as intended due to a bad comparison operator at line 405. The
if
statement is trying to compare a variable againsttype: int
but the data being assigned to the variable in line 381 istype: string
.I fixed this by simple adding quotes around the comparison in line 405.