Mute at the beginning of the script

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
Antha
Posts: 3
Joined: Mon Oct 10, 2011 4:43 am

Mute at the beginning of the script

#1 Post by Antha » Sat Oct 22, 2011 1:47 pm

Here I did not know much about programming and I'm wondering if it is possible to program a mute when you start a script to avoid having two versions sound when playing on two accounts at once.
Sorry for my english I'm french and I use google translation.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mute at the beginning of the script

#2 Post by rock5 » Sat Oct 22, 2011 2:07 pm

Code: Select all

RoMScript("MasterVolumeSlider_SetValue(0)")
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Antha
Posts: 3
Joined: Mon Oct 10, 2011 4:43 am

Re: Mute at the beginning of the script

#3 Post by Antha » Sun Oct 23, 2011 5:20 am

thank you very much rock5 I guess I just have to start the script?
Sorry for my english I'm french and I use google translation.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mute at the beginning of the script

#4 Post by rock5 » Sun Oct 23, 2011 6:34 am

You can add that wherever you want to mute the sound. If you want to mute it when the scripts starts, add it to the <onLoad> section of your waypoint file. Or you could add it to your profile <onLoad> section.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest