ID:157649
Jan 27 2010, 9:26 pm
|
|
Hey I was wondering how I would change change ooc chat colors for specific player groups (IE: Admins, gms, etc) in Space Station 13?
|
In response to Gohan Games
|
|
Yes I believe that's it, it used to be in an old version on SS13, when you ooc you would have a tag next to your name IE [H] for host, and your chat would be a different color than others if you were an admin, I need code to change all user groups. I think that was it, or is on the right track..where would that code go?
|
var/list/admin[]//List of admins |
In response to Ulterior Motives
|
|
Where does this go? :| I'm a huge idiot at scripting.
|
In response to Mald
|
|
Code:Color ooc for host
/mob/verb/ooc(msg as text) Problem description:Undefined variable src.rank Yes I know I will probably get replies saying I'm an idiot for not being able to figure it out, but I cannot figure it out and would love some help.. |
In response to Mald
|
|
So, is your rank a define variable under mob?
Like, mob/var/rank? |
In response to HolyDoomKnight
|
|
The src.rank works under a different file, admin.dm for all the admin commands, I just assumed I could use it to make an admin chat color.
EDIT: if (admins.Find(src.ckey)) is that it? it's under mob. and under that is all the ranks.. |
It would seem that what you want is to hire somebody to alter a system for you, instead of spamming the forum, seeking advice that you do not understand, as you're completely lacking the basics.
|
If its not that give more description.