ID:148088
 
    InsideGame
window="game"
size="520x426"
cr=1
cc=1
cm=1
border=1
form()
contents = {"<HEAD><TITLE>Welcome to Knights of Rundya!</TITLE></HEAD>
[BODY]
<FORM NAME=main METHOD=GET ACTION='byond://'>
<INPUT TYPE=HIDDEN NAME=src VALUE=\ref
[src]>
<Center><Table border=1 bgcolor=#8B7355 width=98%><Tr><Th align=left><font color=#4F4F4F>Name: <font color=white>
[viewer.name]</font><Br>
Race:&nbsp;&nbsp; <font color=white>
[viewer.class]</font><Br>
Health: <Br>
Str:<Br>
<A HREF='?cnc'><font color=#4F4F4F>Cnc</a>:<Br>
Def:<Br>
Gold:<Br>
Bank Gold: </tr></th></table>
<Table border=1 bgcolor=#8B7355 width=98%><Tr><Th align=left><font color=#4F4F4F>Fight:</tr></th></table><Br>
<Table border=1 bgcolor=#8B7355 width=98%><Tr><Th align=left><font color=#4F4F4F>
<FORM NAME=main1 METHOD=GET ACTION='byond://'>
<INPUT TYPE=HIDDEN NAME=src VALUE=\ref
[src]>
Chat: <INPUT CLASS=text_box TYPE=TEXT NAME=chat1 VALUE=''> <a HREF=?src=\ref
[src];action=chat>Submit</A>
<Br>
[viewer.chat_text]

</FORM></BODY>"}

Topic(href, href_list[])
var/a=href_list["chat1"]
if(href_list["action"] == "chat")
for(var/mob/player/M in world)
M.chat_text+="[viewer.name]: [a]"
var/Menu/M = new/Menu/InsideGame(viewer)
spawn(0)M.activate()


The problem is when I write the text into the "chat1" input text box, and hit submit, it only says [persons name]: without any text. I need help fixing this.
bump