mob/verb/Test()
for(var/mob/M in players)
M = pick(players)
switch(input(M,"") in list ("",""))
Problem description: So I've created a piece of code simliar to the one above. Since I have no other players to test with I was wondering would this work in sending the switch to M to accept or decline?
Secondly, you're also misusing for().
Anyway, back on topic. As the DM Reference says, the first argument of input() (if it isn't text) is the target of the popup.