Near the top of the userfunction has this.
Code: Select all
local permanantadjust = 0
Usage
Code: Select all
playalarm() -- default volume
playalarm(10) -- a little louder then default
playalarm(-10) -- a little softer then default
I am going to add the usage of this userfunction into GMDetect.
--=== added suguestions ===--
start bot using commandline
Code: Select all
rom/bot path:commandline
Code: Select all
playalarm()
Code: Select all
playalarm(10)
playalarm(20)
If playalarm() seemed to loud then adjust with -5 increments.
Code: Select all
playalarm(-5)
You can then open up the userfunction and adjust
Code: Select all
local permanantadjust = 0
Code: Select all
local permanantadjust = 10
local permanantadjust = -5
--=== ideas for usage ===--
Obviously GMDetect and has been added in to V 2.3 of the userfunction, I made it do double play of the sound, to tell when GM and not just another usage of playalarm().
When you reach the end of a WP and use player:sleep()
Basically any time you want to hear the sound to get your attention.