Page 1 of 1

Function of RoM-Addon in RoMBot

Posted: Sat Mar 31, 2012 9:39 am
by th0ss
Ok,
I think you know what I want to do...
I have an Addon (some Functions in a .lua-File) and I want to use one of these functions in my waypoint file... How do I do that? I searched the wiki, but I didn't found the information I needed :/

cheers,
th0ss

Re: Function of RoM-Addon in RoMBot

Posted: Sat Mar 31, 2012 12:07 pm
by Administrator

Code: Select all

RoMScript("someFunction()");

Re: Function of RoM-Addon in RoMBot

Posted: Sat Mar 31, 2012 4:05 pm
by th0ss
and "someFunction()" could be any function created in any rom-addon?

Re: Function of RoM-Addon in RoMBot

Posted: Sat Mar 31, 2012 7:47 pm
by Administrator
That is exactly right. You can place any commands you want; not just function calls.