pmsnd()
set hidden = 1
txt = "<font color=#00ff00>"
t = params2list(winget(usr,"pmwin.msginput","text"))
ml << "<br><font color=#00ff00><h2>PM from [usr] \icon[usr]</h2></font>"
for(var/i=1,i<=t.len,i++)
txt = txt + "<br>[t[i]]"
txt = txt + "</font>"
ml << txt
ml << ""
winset(usr,"pmwin.msginput","text= ")
winshow(usr,"pmwin",0)
Example : when I write "colors = green", it outputs "colors "
just do
t = winget(usr, "pmwin.msginput", "text")