generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Output Colors

Previous Thread :: Next Thread 
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 May 2015 04:15 PM
black is a print, function: print()
red is an error, function: error()
yellow is a warning, function: warn()
blue is a ???, function: ???
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
12 May 2015 04:18 PM
blue is just info. function: info()

such as like "16:35:00.554 - Auto-Saving..."
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 May 2015 05:58 PM
Errrr, info() isn't a thing.


info("Test")


info("Test"):1: attempt to call global 'info' (a nil value)
Stack Begin
Script 'info("Test")', Line 1
Stack End
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 May 2015 06:01 PM
I got closer using TestService:


game:GetService("TestService"):Message("Test")

##:##:##.### - TestService: Test


(I took out the numbers and replaced with #)

I kinda want it without the TestService:
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 May 2015 09:01 PM
Bump.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
13 May 2015 08:07 AM
Bump.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
13 May 2015 09:11 AM
Make your own dev console then, and add a function in all of the scripts to output in blue, green, pruple, etc.
Report Abuse
michaeldylano is not online. michaeldylano
Joined: 08 Nov 2010
Total Posts: 1815
13 May 2015 09:18 AM
If you get a blue text, it is just an information. Info() is not a thing indeed, but blue just gives info.
16:08:11.973 - Workspace.Script:2: field 'day' missing in date table RED BECUZ ERRORZ
16:08:11.973 - Script 'Workspace.Script', Line 2 Blue (info: what script?)
16:08:11.974 - Stack End blue (info: console has ended the script)
16:11:00.731 - Auto-Saving... blue (you file is being saved in case you #### things up)
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
13 May 2015 01:16 PM
@above If it's not info, how do you make it blue..?
Report Abuse
michaeldylano is not online. michaeldylano
Joined: 08 Nov 2010
Total Posts: 1815
14 May 2015 06:33 AM
You can't make output messages. It is blue, blue indicates it is a message containning information. You word your questions very weird, are you foreign or so?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 02:04 PM
No lol, all English here.

If the function isn't info then how do you print in blue? What if I want to print an information without TestService?
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 02:14 PM
I have searched the wiki and there doesn't seem to be an other function that can print blue text. how about writing a wrapper around the TestService method?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 02:22 PM
builder I don`t think you quite get how wrappers work.


Wrappers do just that, they WRAP stuff. They put something around the default behaviour in and then reference the unwrapped value if needed. They cannot change the default behaviour of a function/method.

So in other words, if I wrapped TestService I'd end up printing black, blue, or yellow :P
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 02:22 PM
black, red, or yellow*
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 02:32 PM
Well, I may have used the wrong word for it. I just meant this:

function info(message)
game:GetService('TestService'):Message(message)
end

_G.info = info


or something like that
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 02:37 PM
But that comes out TestService: message


I didn't want the TestService notification :P
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
14 May 2015 02:41 PM
Try using the warn() and error() functions in a script. War wants :Message() to work exactly like that, without TestService.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 02:45 PM
^
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 03:08 PM
Well. I did a thorough search on the wiki and couldn't find any function not in the test service that print's blue messages. I don't think it exists.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 03:25 PM
Why would they give us warn but not info -_-
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 03:44 PM
Come on. You have been on ROBLOX for about 4 years. You should know how this works! :3
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 03:47 PM
This is actually my second account but yeah.


I would suggest this on S&I but script related suggestions almost never get any support.
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 03:50 PM
yep... :/

You could just message ROBLOX instead. Maybe that works?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 May 2015 03:55 PM
lol I doubt that. Anybody here have RbxDev that could bring this up..?
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
14 May 2015 03:56 PM
what is a RbxDev? :3
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image