mob
verb
Scream_for_Waiter()
src << "What is it, \sir?" // it would replace sir with madam or whatever should be for neuter
This would be a good addition to thew macros we have (that is if I missed this macro...) for BYOND.
ID:161928
![]() Mar 13 2008, 4:45 pm
|
|
I would like to request a macro for the gender that like this:
mob This would be a good addition to thew macros we have (that is if I missed this macro...) for BYOND. |
![]() Mar 13 2008, 5:06 pm
|
|
Couldn't you do..
|
GhostAnime wrote:
You need to check the value of the var :P gender=="male"? "sir":"madam" True. But I believe it's actually.. src<<"[gender=="MALE"?"sir":"madam"]" |
The genders are actually lowercase, but there are uppercase macros available.
src<<"[gender==MALE? "sir":"madam"]" |
Flame Sage wrote:
GhostAnime wrote: gender=="male"? "sir":"madam" True. src<<"[gender=="MALE"?"sir":"madam"]" Define Gender as a number, not text. |
I hope you don't mean to say you can do..
var/gender
because that will be WRONG. If you are suggesting...
var/Gender
it would be pointless, because theres already another variable like it built in. |
Obs wrote:
Define Gender as a number, not text. While not such a horrible mistake, this is just one example of your incompetence you try to help people with. Verify before you post. |
If you are suggesting... > var/Gender it would be pointless, because theres already another variable like it built in. Pointless as it my seem, I've done exactly that and I've found many cases of where it is more convenient to have Gender as an enumerated type than as an actual string. On top of that, the regular list of 4 genders is insufficient for me because I have an expanded list of possible genders. I only really use the traditional gender var for text macros and some icon_states. |
Kaioken wrote:
Obs wrote: I see no problem here. |
Obs wrote:
If you are suggesting... > > var/Gender it would be pointless, because theres already another variable like it built in. Out of curiousity... what exactly ARE your expanded genders? Transexual neo male? Hermaphrodite? Mother Brain? |
Polatrite wrote:
Obs wrote: > > > var/Gender it would be pointless, because theres already another variable like it built in. Various alien genders. Not the local flavors. |
Obs wrote:
Polatrite wrote: I was really hoping for Mother Brain. |