Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Request: Add UOSay Color Variable

Only for requests.
Post Reply
Vlek
Neophyte
Neophyte
Posts: 21
Joined: 03.10.2014 1:15

Request: Add UOSay Color Variable

Post by Vlek »

Instead of having to specify the color everytime with UOSayColor, why not make a function like SayColor( hue ) that allows one to set the default UOSay color so UOSay uses the SayColor instead of the stupid sky blue every time.

Example usage:

Code: Select all

from stealth import *

UOSay('Hello world!') #This will say Hello world in the normal, blue font

SayColor( 53 ) #Changes the color to a yellow

UOSay('Hello yellow world!') #This will now be in yellow
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Request: Add UOSay Color Variable

Post by Vizit0r »

no need, to add new method...just for adding, no more.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Vlek
Neophyte
Neophyte
Posts: 21
Joined: 03.10.2014 1:15

Re: Request: Add UOSay Color Variable

Post by Vlek »

I do not understand. Are you going to add it or not?

It is a pain in the ass to have to pay attention to the color of your text each and every time when one ought to be able to change it once and forget about it.
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: Request: Add UOSay Color Variable

Post by Vizit0r »

Vlek wrote:I do not understand. Are you going to add it or not?
Not.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Post Reply