I need to call up some variables from an addon that stores it into open file SaveVariables.lua. These are Global variables accessable by RoM but not Global to the RoM bot. Can i use the igf: frame to get the variables? If so how?
would i = igf:variable('GetText()') work? if so even if it a table?
How do i get a variable from the Global RoM to the Rombot?
Re: How do i get a variable from the Global RoM to the Rombo
you just need to use RoMScript
example
madman.Time is an addon global variable.
example
Code: Select all
if RoMScript("madman.Time") >= 1 thenRemember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: How do i get a variable from the Global RoM to the Rombo
i can't find the madman addon can u link it for me?
Re: How do i get a variable from the Global RoM to the Rombo
You won't find it on curse as it is mine.
forum search got this
http://www.solarstrike.net/phpBB3/viewt ... 098#p26098
forum search got this
http://www.solarstrike.net/phpBB3/viewt ... 098#p26098
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: How do i get a variable from the Global RoM to the Rombo
Just note that you can't normally get tables with RoMScript, only single values.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan