i was making a command to create a random stage in sm64 and got right hand side of instanceof is not an object
can someone help
!commands add !Stage $(eval const responses = [‘BOB’, 'WF, ‘CCM’, ‘JRB’, ‘DDD’, ‘BITDW’, ‘BITFS’, ‘BITS’, ‘SSL’, ‘LLL’, ‘HMC’, ‘Vanish’, ‘Wing’, ‘Metal’, ‘BBH’, ‘SL’, ‘TTM’, ‘THI’, ‘PSS’, ‘RR’, ‘TTC’, ‘Upstairs Wing Cap’, ‘WDW’ ]; responses[Math.floor(Math.random() * responses.length)]
@B6twitch
!addcom -cd=5 !stage
$(eval a=[`BOB`,`WF`,`CCM`,`JRB`,`DDD`,`BITDW`,`BITFS`,`BITS`,`SSL`,`LLL`,`HMC`,`Vanish`,`Wing`,`Metal`,`BBH`,`SL`,`TTM`,`THI`,`PSS`,`RR`,`TTC`,`Upstairs Wing Cap`,`WDW`];a[Math.floor(Math.random()*a.length)])
your second value is the issue, didn’t “close” it with the ’
1 Like
system
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.