<onDeath>
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
What am I supposed to do with these datafiles?
When I leave my bot at night to grind, It sometimes dies like 10 times b4 logging out leaving l8ter a HUGE exp/tp debt!
Im still a noob at using rom bot, so I need some help.
What to do, if I wan't the bot to logout on death?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What to do, if I wan't the bot to logout on death?
You could uncomment (remove the -- in front of) the player:logout() line in the onDeath event in your profile. There's also a profile option you can add, MAX_DEATHS, and set to 1.
Who is online
Users browsing this forum: Ahrefs [Bot] and 66 guests