Choose Command
GershonR opened this issue · 1 comments
GershonR commented
Usage: Chooses an option from the list of cases.
» Use to choose the only case.
- choose "1":
- case "1":
- debug LOG "Success!"
» Use to choose the default case.
- choose "2":
- case "1":
- debug log "Failure!"
- default:
- debug log "Success!"
» Use for dynamically choosing a case.
- choose "<def[entity_type]>":
- case "zombie":
- narrate "You slayed an undead zombie!"
- case "skeleton":
- narrate "You knocked the bones out of a skeleton!"
- case "Creeper":
- narrate "You didn't give that creeper a chance to explode!"
- default:
- narrate "You killed a <def[entity_type].to_titlecase>!"
mcmonkey4eva commented
Done! :D