Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Emote(T as text)
- T = quicklinks.parse(T)
- var/U = findtext(T,";",1,2)
- if(U)
- T = replacetext(T,";",null)
- var/A = rand(1,2)
- if(A == 1)
- T = "[T] <font color=green>(PASS)"
- else
- T = "[T] <font color=red>(FAIL)"
- if(T && !mute)
- if(!findtext(T, "'s", 1, 3))
- T = " " + T
- for(var/mob/M in view(src))
- if(M.client)
- if(M.client.focuson && M.client.focus.Find(src)) M << "<font color = 'blue'>\icon[src][src][T]</font>"
- else if(M.client.focuson && M == src) M << "<font color = 'blue'>\icon[src][src][T]</font>"
- else if(M.client.focuson) M << "<font color = 'gray'>\icon[src][src][T]</font>"
- else M << "<font color = 'blue'>\icon[src][src][T]</font>"
- else M << "<font color = 'blue'>\icon[src][src][T]</font>"
- //view(src) << "<font color = 'blue'>\icon[src][src][T]</font>"
- talklog << "[src][T]"
- for(var/mob/M in world)
- if(M.client)
- if(src in view(M.client.view, M.client.virtual_eye))
- if(src in view(M))
- else
- M << "<font color = 'gray'>\icon[src][src][T]</font>"
- else
- if(M.hearall)
- if(src in view(M))
- else
- M << "<font color = 'gray'>\icon[src][src][T]</font>"
Add Comment
Please, Sign In to add comment