Im not 100% sure what you mean, but I think this is what your after. If its not look up switch() and input() in the refrence and that should clear things right up.
mob verb Ask(var/mob/M in world) var/switch = input(M, "Question","Title","Defualt Answer") as text switch(switch) if("Good answer") src << "[M.name] knows his stuff" if("Bad answer") src << "[M.name] is one jive turkey"
And one bonus note: In the forums when showing source code you should always use the <*dm> <*/dm> HTML tags, without the *'s.
So:
mob
verb
Becomes:
<*dm>
mob
verb
<*/dm>
And one bonus note: In the forums when showing source code you should always use the <*dm> <*/dm> HTML tags, without the *'s.
So:
mob
verb
Becomes:
<*dm>
mob
verb
<*/dm>