mob
verb
Chat()
set category = "Commands"
if(!usr.cantalk) return
if(usr.muted) return
if(!usr.firing)
usr.firing = 1
var/ms = input("What would you like to say to the people in your view?","View Chat")as text|null
if(!ms) return
var/msg = copytext(ms,1,200)
for(var/mob/M in oview(usr)) M << "<b><font size=1><font color=red>{<font color=#FF7777>View Chat<font color=red>} [usr] says: <font color=silver>[html_encode(msg)]"
sleep(8)
usr.firing = 0
else return
Problem description:
I type in what I want to say (Which means the cantalk/muted if statements are not the problem), but then when I pres OK nothing happens.
Code:
turf/HairSelect
icon = 'preview.dmi'
Ichigo/icon_state = "ichigo"
Click()
switch(alert("You want this hair?","Hair Select","Yes","No"))
if("Yes")
usr.hair = "ichigo"
usr.overlays += /obj/hair/ichigohair
world << "<font size=1><b><font color=silver>BFHH: <font color=white>[usr.name] has logged in."
usr.loc = locate(300,300,1)
usr.online = 1
usr.cansave = 1
usr.cantalk = 1
usr.OOC = 1
usr.Bonus()
obj/hair
ichigohair
icon = 'Ichigo Hair.dmi'
Problem Description:
I choose the hair style, then I login, but I don't get the hair style. I'm still bald.