Word chain game — each message must start with the last letter of the previous word. Use when asked for word chain, word game, or shiritori.
Ask for game channel with show_select(type:"channel").
Event: message_create with condition: {channel_id: "GAME_CHANNEL_ID"}
Actions:
get key:"wordchain_last" — get the last valid wordget key:"wordchain_used:{message.content}"put key:"wordchain_last" value:"{message.content}", put key:"wordchain_used:{message.content}" value:true, add_reaction ✅send_message "Wrong! The word must start with the letter X", put key:"wordchain_last" value resetdelete_by_prefix prefix:"wordchain_"
Template: "Word chain reset! Start with any word."