ID:273819
 
I tried a few different things. The one that seems to work somewhat is....

mob
verb
Say(msg as text)
set name = "Say"
if(usr)
if(usr.muted)
alert("You are muted!")
return
if(msg == "")
return
if(length(msg) >= 1000)
alert("
Your message is too long.")
return
else
usr.spamcheck()
var/bmp = icon(usr.facepicsay)
view(usr,8) << "[usr.facepicsay][usr]: [msg]"
text2file("[time2text(world.realtime)]:[usr] says, [msg]","log.txt")
for(var/mob/M in world)


At first it was showing up as [iconnameiwanttoshow] [usrname]: [msg]

Then I messed around with it a lil and now when I type something in Say it shows up as...

[blankspace] [usrname]: [msg]

I cant figure out what Im doing wrong.
Oh, and I did this to change pics


mob
verb
Change_Picture()
set category = "Commands"
switch(input("Do You Want To Change your Picture?", text) in list ("Yes","No"))
if("Yes")
switch(input("What Picture Do You Want?", text) in list ("Pic 1","Pic 2"))
if("Pic 1")
usr.facepicsay = "Pic1"
In response to Nel Mayuri
Use \icon, and a css mod, for larger\smaller icons.
Or... I think byond supports the img tag now (If you include it from a website).
In response to Leur
Ehh, I still cant get it. *_*
In response to QueHoraEs
instead of using view(usr,8) << "[usr.facepicsay][usr]: [msg]" use view(usr,8) << "\icon[usr.facepicsay][usr]: [msg]"