Can anyone help me, how i can use userfunctions, how run etc? I can't find this on Wiki.
Thanks.
Userfunctions
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
- Bill D Cat
- Posts: 555
- Joined: Sat Aug 10, 2013 8:13 pm
- Location: Deep in the Heart of Texas
Re: Userfunctions
If you've ever done any kind of programming at all, then you will be familiar with and can think of userfunctions as a collection of subroutines or functions that you can call from anywhere when the bot is running. An example of this is Rock5's userfunction_travelTo.lua file. In it is the function that automates traveling around the world via Snoop and other local city transporters. You can use it in a waypoint file by adding a command when near one of these transporters just by calling the function with the name of your destination as the argument.Newbie wrote:Can anyone help me, how i can use userfunctions, how run etc? I can't find this on Wiki.
Thanks.
Example:
Code: Select all
travelTo("Varanas")
See my userfunction_QuestHelpers file for an example of multiple functions within the same file: http://www.solarstrike.net/phpBB3/viewt ... =27&t=6016
Re: Userfunctions
Thanks, but still i'm confused
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest