Hi,
I'm running Rom2.4b6. I'm making a modern mud with gangs (the old clan system) and corperations (a modified copy of the old clan system). On the who list, now is shows the level, race, class, gang, corperation then the name. If you are not in a gang or corperation, it says:

[ 110 Asian IMP  Citizen  (NoCorp) ] Tarian

and if you are in a gang but not a corp, or vice versa, it says:

[ 110 Asian IMP  Citizen  FrstBnk ] Tarian

I would like it so that if you are in either a gang or a corp (you can't be in both) to show only that gang or corp name like:

[ 110 Asian IMP  FrstBnk ] Tarian

And if in neither a gang nor a corp, to say:

[ 110 Asian IMP  PRIVATE ] Tarian

Or something like private. I was wondering if that would be possible and if anyone knows how to code that...cuz I cant seem to figure it out right now. I tried using some of the string operators like ? and :, but that sorta screwed things up and I realized that I'm going to need to use some if()'s and for's...which I suck at...if anyone knows and could send the format part of do_who to me or to this list, it would be great!
-Tarian


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx


Reply via email to