ID:165639
![]() Nov 20 2006, 10:36 am
|
|
I know I saw this somewhere, I just can't remember where. How do you eliminate the "the" that BYOND automatically puts in front of lowercase-started words?
|
![]() Nov 20 2006, 10:41 am
|
|
Just put a capital character instead of the lowercase.
|
Stephen-San wrote:
Just put a capital character instead of the lowercase. That's not always an option, especially if the player is typing in something themselves. You can use the text macro '\proper' before including the object in the string of text to cause BYOND to treat the object as a proper noun (a name). Here's an example from the reference section about text macros. It uses macros other than \proper, but they work the same: mob/verb/steal(M as mob,obj/O as obj in M) |
You merely have to capatalize the first letter.
Hint: look up copytext() and uppertext()..copy the first letter and cap it ith uppertext() than copytext() the rest. - GhostAnime |