mob/verb
say(msg as text)
set hidden = 1
if(msg == bla)
world << "<b>[usr] has been muted for two minutes. He was repeating."
muted = 1
sleep(120)
if(usr.muted)
world << "<b>[usr] has been auto-unmuted."
muted = 0
if(!disabled)
if(!muted)
if(!chatdoing)
chatdoing = 1
if(GM) for(var/mob/M in world)
if(M.RoomName == usr.RoomName)
M << "<a href='?src=\ref[src];action=whisper'>pmbutto</a><b>{Admin}</b> <font color=[usr.namecolor]>[usr]: <font color=[usr.textcolor]>[msg]"
else for(var/mob/M in world)
if(M.RoomName == usr.RoomName)
M << "<a href='?src=\ref[src];action=whisper'>pmbutto</a><b>{[time2text(world.realtime,"hh:mm")]}</b> <font color=[usr.namecolor]>[usr]: <font color=[usr.textcolor]>[msg]"
bla = msg
sleep(8)
chatdoing = 0
else
alert("You're doing something right now.")
chatspam += 1
spam()
else
alert("You have been muted for what ever reason.")
else
alert("You have been disabled for what ever reason.")
mob/Topic(href, href_list)
switch(href_list["action"])
if("whisper")
var/text = input(usr,"What would you like to Whisper?") as text|null
if(!text)
return
else
src << "<b><font color=[usr.namecolor]>[usr] Whispers to you: <font color=[usr.textcolor]>[text]"
obj/pmbutto/icon = 'pmbutton.dmi'
Output:
pmbutto{Admin} Howey: khj
Problem description:
Where it says pmbutto on the output, it should be showing a PM Icon button thing...