Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turn alarms on and off
#1
Lightbulb 
Good morning, I'd like a script that would have the bot turn off the Player Alarm on the Screen and Message when the character was arriving in town to refill and then activate the alarms again when it was arriving at the cave.

Thanks !
Reply

#2
Hello.

You can use LUA functions setsettings() to disable/enable those.

|Only Registered members can see download links. | Click here to buy subscription or here to register.

setsettings(string path, string/number/boolean value) [void]: Changes the path's value. e.g.: setsettings('Looter/Settings/Enabled', 'yes'), it's gonna enable Looter.

setsettings('Alerts/Player on Screen/Play Sound', true) -- enables Alerts->Player on Screen->Play Sound

setsettings('Alerts/Player on Screen/Play Sound', false) -- disables Alerts->Player on Screen->Play Sound
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016