Using a Switch to ask questions, need help with the errors?

Thecatofallcats
28 May 2020, 18:57So I have this here:
switch () {
case (Yeah...) {
TextFX_Typewriter ("The brown tabby cat grins and crouches to your level. ''I'm Snakepaw.'' He tells you. ''And i'm one of the strongest apprentices!'' He boasts. A russet and white she-cat came up to Snakepaw. ''Yeah right! Oh, hi " +player.alias + "kit. I'm Cherrypaw. Don't mind my brother- he's a mousebrain.'' Snakepaw stuck out his tongue.", 3)
}
}
And I can't find out how to make the case name valid. How do I make it so that it won't give me an error for the name of the switch? Is there a way to make a switch manually before it is said??
I'm really new to this type of stuff, so if there is a fix i'd love to know.
Otherwise, are there alternative ways to pick an answer?
Thanks, I really need help, i've been stumped and unable to find an answer for ages.

Thecatofallcats
28 May 2020, 19:32Okay. After a while I figured it out, it needed to be attached to a menu and a variable like this:
options = Split("Yeah;Can you show me around?", ";")
ShowMenu ("Reply", options, true) {
ClearScreen
switch (result) {
case ("Can you show me around?") {
TextFX_Typewriter ("The apprentices scoff. ''Sorry, we have to go train. You need to explore yourself.''", 3)
options = Split("Okay", ";")
ShowMenu ("Reply", options, false) {
}
}
case ("Yeah") {
TextFX_Typewriter ("The brown tabby cat grins and crouches to your level. ''I'm Snakepaw.'' He tells you. ''And i'm one of the strongest apprentices!'' He boasts. A russet and white she-cat came up to Snakepaw. ''Yeah right! Oh, hi " +player.alias + "kit. I'm Cherrypaw. Don't mind my brother- he's a mousebrain.'' Snakepaw stuck out his tongue.", 3)
}
default {
msg ("That was not even an option!")
}
}
}
(Im putting the answer here in case anybody else would like some help)