ID:259261
 
I can't figure out how to get this to pop up a dialogue box for entering the second argument. Any ideas, anyone? Thanks...

proc/ValidTargets(myAct)
if(game && myAct)
if(myAct == "peace") return null
return game.players

mob/verb
left(T in actions, M in ValidTargets(T))
if(CheckPlayer(usr))
leftAct = T
leftTarget = M

Your code looks fine to me as long as game.players is a list of mobs or something like that. What is happening when you try it?

--Dan
In response to Dan
Your code looks fine to me as long as game.players is a list of mobs or something like that. What is happening when you try it?

I think it might have been user error. If I have more trouble I'll let you know. Thanks!