Conditional check for no weapon?

In this menu I can only select a specific weapon:

upload_2019-9-21_19-0-7.png


How do I make a conditional branch for when player has no weapon equipped?
I had to double check the editor to make sure the option for "none" wasn't available, but it appears to not be. I think the simplest way from here is to just use a script (page 4 of conditional branch)

Code:
$gameActors.actor(id).hasNoWeapons()

Replace id with the actors ID.
exactly what I needed, thank you!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-check-for-no-weapon.113524/