Difference between revisions of "RoM Functions"

From SolarStrike wiki
Jump to: navigation, search
Line 4: Line 4:
 
<source lang="lua">open_giftbag( [[_player_level] , _maxslot] );</source>
 
<source lang="lua">open_giftbag( [[_player_level] , _maxslot] );</source>
 
open giftbag (at the moment level 1-10)
 
open giftbag (at the moment level 1-10)
<source lang="lua">addMessage( message )</source>
+
<source lang="lua">addMessage( message );</source>
 
send message to the game
 
send message to the game
<source lang="lua">send_macro( _script )</source>
+
<source lang="lua">send_macro( _script );</source>
 
executing RoMScript and send a MM window message before
 
executing RoMScript and send a MM window message before

Revision as of 10:35, 8 September 2009

Functionlist

change_profile_option(_option, _value);

change profile options and print values in MM protocol

open_giftbag( [[_player_level] , _maxslot] );

open giftbag (at the moment level 1-10)

addMessage( message );

send message to the game

send_macro( _script );

executing RoMScript and send a MM window message before