mob
verb
send(var/mob/M in world,var/txt as text)
M << output("[usr.name]: [html_encode(txt)]", "[usr].output")
winshow(M,"[usr]",1)
usr << output("[usr.name]: [html_encode(txt)]", "[M].output")
proc
Whisper(mob/M)
winclone(M,"window8","[usr]")
winclone(usr,"window8","[M]")
winset(usr, "[M].input", "command=\"send [M] \"")
winset(M, "[usr].input", "command=\"send [usr] \"")
winshow(usr,"[M]",1)
Problem description:
I'm not very good with the winset proc and for the lines marked 1 and 2, when you go To whisper to someone that uses a space in their name(ex Bob smith)it will give an error (Sorry, the following is not valid: Bob usage: send mob in world "text")
Is there a way around this? lol