mob/verb
Winsay()
set hidden=1
// if(Muted)
// src<<"You're muted!"
// return
if(SayUp)
SayUp=0
winset(src, null, {"
SayBoxChild.focus = "false";
SayBoxChild.is-visible = "false";
"})
if(src.Dialogue=="Say")
winset(usr,"SayBox","sayinput.command=\"!Say\"")
if(src.Dialogue=="Vsay")
winset(src,null,"SayBoxChild.command=.Village-Say")
if(src.Dialogue=="Debug")
winset(src,null,"SayBoxChild.command=")
winset(src, null, {"
mapchild.mapwindow.focus = "true";
"})
return
winset(usr, null, {"
SayBoxChild.focus = "true";
SayBoxChild.is-visible = "true";
"})
SayUp=1
Problem description:When Dialogue equals Say, the winset doesn't set the command on Input when I bring it up. Dunno why :/
You can use 1 instead of true for true/false values; the skin knows the difference.
As far as the issue at hand, the ! prefix in input.command means "This is the default command" so it ought to appear on the line when you're in say mode--however you also should be including a space after it, and probably an escaped quote character.