ID:143461
 
Code:
mob/StrawH/verb/CrewSay(msg as text)
set category = "Crew"
set name = "Say"
for(var/mob/M in world)
if(M.InStrawC=1)
M<<"<font color=green)[usr]:[msg])"


Problem description:

When used, message doesn't appear. I'm not sure if there is something wrong with the code or not.

if(M.InStrawC=1)
//isnt right, because when using if() you must use == not =
//try
if(M.InStrawC==1)
//and make sure that it's really set to 1

M<<"<font color=green)[usr]:[msg])"
//wrong closing tags
M<<"<font color=green>[usr]:[msg]"
In other words of what Ripiz said, here's the code <_<

mob/StrawH/verb/CrewSay(msg as text)
set category = "Crew"
set name = "Say"
for(var/mob/M in world)
if(M.InStrawC == 1)
M<<"<font color=green>[usr]: [msg]"