You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I changed switch to switch_ic the break() in console spits out
"COMPILE ERROR: The break() function can only break out of loops."
Works:
/switch $ = >>>
switch($){
case '1':
msg('one')
break()
case 'two':
msg('2')
break()
default:
msg('That number is too high for me.')
}
<<<
Doesn't work:
/switch $ = >>>
switch_ic($){
case '1':
msg('one')
break()
case 'two':
msg('2')
break()
default:
msg('That number is too high for me.')
}
<<<
Console:
[19:42:45 INFO]: COMPILE ERROR: The break() function can only break out of loops.
[19:42:45 INFO]: at :C:\Users\Zack\Desktop\Skyblock Dev\plugins\CommandHelper\aliases.msa:5.7
[19:42:45 INFO]:
[19:42:45 INFO]: COMPILE ERROR: The break() function can only break out of loops.
[19:42:45 INFO]: at :C:\Users\Zack\Desktop\Skyblock Dev\plugins\CommandHelper\aliases.msa:8.7
[19:42:45 INFO]:
[19:42:45 ERROR]: [CommandHelper] Execution halted due to compile errors.
The text was updated successfully, but these errors were encountered:
When I changed
switch
toswitch_ic
thebreak()
in console spits out"COMPILE ERROR: The break() function can only break out of loops."
Works:
Doesn't work:
Console:
[19:42:45 INFO]: COMPILE ERROR: The break() function can only break out of loops.
[19:42:45 INFO]: at :C:\Users\Zack\Desktop\Skyblock Dev\plugins\CommandHelper\aliases.msa:5.7
[19:42:45 INFO]:
[19:42:45 INFO]: COMPILE ERROR: The break() function can only break out of loops.
[19:42:45 INFO]: at :C:\Users\Zack\Desktop\Skyblock Dev\plugins\CommandHelper\aliases.msa:8.7
[19:42:45 INFO]:
[19:42:45 ERROR]: [CommandHelper] Execution halted due to compile errors.
The text was updated successfully, but these errors were encountered: