a simple question, maybe i am blind or i have blackout
Is there a function in rombot to read out the active char name. ( i want to trigger the waypoints files by the active char when i use autologin )
active char
Re: active char
it must be something like player.name or so! Liek i've said before:" Hey, admins! Isn't there some documentation on the classes and their methods/properties?"MinMax wrote:a simple question, maybe i am blind or i have blackout
Is there a function in rombot to read out the active char name. ( i want to trigger the waypoints files by the active char when i use autologin )
I use The rom Wiki a lot but you can always check th file player.lua and search for a property like name!
Thanks for reading! 
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
-
runensammler
- Posts: 13
- Joined: Mon Apr 06, 2009 6:20 am
Re: active char
Hi.
gives you the - yes right - the accountname
and in ist the name of the actual player stored.
Code: Select all
accountname = RoMScript("GetAccountName();");and in
Code: Select all
player.NameRe: active char
Thx, for help . I knew that the solution must be simple. It was to simple for me 
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 3 guests