Difference between revisions of "RoM Functions"

From SolarStrike wiki
Jump to: navigation, search
(New page: - Functionlist - <source lang="lua">change_profile_option(_option, _value);</<source> change profile options and print values in MM protocol <source lang="lua">open_giftbag(_player_level, ...)
 
Line 1: Line 1:
- Functionlist -
+
= Functionlist =
<source lang="lua">change_profile_option(_option, _value);</<source>
+
<source lang="lua">change_profile_option(_option, _value);</source>
 
change profile options and print values in MM protocol
 
change profile options and print values in MM protocol
<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
<source lang="lua"> </<source>
 
<source lang="lua"> </<source>
 
<source lang="lua"> </<source>
 

Revision as of 14:15, 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