This method is a short-hand for "osrs.message(string.format(...))". See printf, which prints to the debug console, for details on formatting.
Parameters
formatString: string
Contains a string with optional format parameters that will be replaced by the subsequent parameters.
...params: any[]
List of variable parameters that will be inserted into the format string.
Returns void
Example
osrs.messagef("Hello %s, your class rank is %i, and your GPA is %.3f", "Gregory", 7, 3.7987) --prints: "Hello Gregory, your class rank is 7, and your GPA is 3.798"tothechatbox
This method is a short-hand for "osrs.message(string.format(...))". See printf, which prints to the debug console, for details on formatting.