7,072
edits
No edit summary |
|||
| Line 12: | Line 12: | ||
|returnInfo = a colour represented as one integer | |returnInfo = a colour represented as one integer | ||
|returnFail1 = int 0 | |returnFail1 = int 0 | ||
|exampleJS = addCommandHandler("message1", (command, text) => | |||
{ | |||
message('This text is red.', toColour(255, 0, 0)); | |||
message('This text is red.', toColour(255, 0, 0, 255)); | |||
message('This text is red, half see-through.', toColour(255, 0, 0, 128)); | |||
}); | |||
}} | }} | ||
edits