RoM Functions

From SolarStrike wiki
Revision as of 07:49, 10 September 2009 by D003232 (talk | contribs) (Functionlist)
Jump to: navigation, search

Functionlist

changeProfileOption(_option, _value);

change profile options and print values in MM protocol

openGiftbag( [[_player_level] , _maxslot] );

open giftbag (at the moment level 1-10), items for mage and priest

addMessage( message );

Send a message to the ingame system chat channel.

RoMScript( _script );

example:
local ret1, ret2 = RoMScript( "GetPlayerWorldMapPos();" );

Send a macro to the client and execute it ingame by pressing the MACRO hotkey. There are up to 10 return values possible.

sendMacro( _script );

Same as "RoMScript. Additionally you will see a message in the MM window.