Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: LeviAlvi on August 24, 2013, 04:17:48 am

Title: [Help] Text color
Post by: LeviAlvi on August 24, 2013, 04:17:48 am
1. How to make a font color to black? see the picture

Spoiler: ShowHide
(http://img24.imageshack.us/img24/6475/ny11.png)


2. Is there a script that makes the first letter of the name input to capital and others to small letters

3. I wanted to make the name input to limit the letters to 26 letters only

I can give the script later if you require it.
Title: Re: [Help] Text color
Post by: chaucer on August 24, 2013, 06:26:05 am
Spoiler: ShowHide
Quote from: LeviAlvi on August 24, 2013, 04:17:48 am
1. How to make a font color to black? see the picture

[spoiler](http://img24.imageshack.us/img24/6475/ny11.png)

2. Is there a script that makes the first letter of the name input to capital and others to small letters

3. I wanted to make the name input to limit the letters to 26 letters only

I can give the script later if you require it.


1. Color.new(255,255,255) will change text color to black.

2.line 26 of window nameedit change 
@name = ""
to
@name = "".capitalize


3 line23 of window nameedit change
@max_char = max_char
to
@max_char = 26 


theres probably better ways of making the last one work lol it should all work if you need additional help just ask.
Title: Re: [Help] Text color
Post by: LeviAlvi on August 24, 2013, 08:44:12 am
Will try tomorrow. thanks :)