Message (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
Created page with "<onlyinclude>{{Method |name = Message |arguments = {{type|string}} <var>text</var> |description = Prints <samp>Test message</samp>, followed by <var>t..."
>JulienDethurens
No edit summary
Line 2: Line 2:
|name                = Message
|name                = Message
|arguments = {{type|string}} <var>text</var>
|arguments = {{type|string}} <var>text</var>
|description          = Prints <samp>Test message</samp>, followed by <var>text</var> to the output, in <span style="color: blue;">blue</span> text.
|description          = Prints <samp style="color: blue;">Test message</samp>, followed by <var>text</var> to the output, in blue text.
|object              = TestService
|object              = TestService
}}</onlyinclude>
}}</onlyinclude>

Revision as of 05:49, 18 February 2012

Message( string text )
Returns nil
Description: Prints Test message, followed by text to the output, in blue text.
Member of: TestService

Example

This code would print Test message: example to the output, in blue text. game:GetService('TestService'):Message("example")