Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Jun 22, 2017 8:35 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How Do I play warning sound
Thanked: 0 time(s)  Unread post Posted: Fri May 19, 2017 2:07 am 
New User
New User



Joined: Sun Sep 27, 2015 12:56 pm
Posts: 12
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 25
I want to play a sound when something happens in a game I play, like a warning system while I am AFK. How would I do that?


Top
 Profile  
Reply with quote  
 Post subject: Re: How Do I play warning sound
Thanked: 0 time(s)  Unread post Posted: Fri May 19, 2017 3:25 pm 
Gold Contributor
Gold Contributor
User avatar



Joined: Fri Oct 30, 2015 5:02 am
Posts: 291
Been thanked: 89 time(s)
Has thanked: 27 time(s)
Contribution Points: 924
Code:
function("warning")
// whatever if statement you need
     if  Color.At coordinate is not (RGB)("", "", "", "", "")
          begin
               Speech.Say("what you want the macro to warn you about", "yes")
          end
function

_________________
Anti - Macro protector script (by Davy) & Macro protector Warning Alarm
viewtopic.php?f=304&t=27497


Top
 Profile  
Reply with quote  
 Post subject: Re: How Do I play warning sound
Thanked: 0 time(s)  Unread post Posted: Fri May 19, 2017 10:20 pm 
New User
New User



Joined: Sun Sep 27, 2015 12:56 pm
Posts: 12
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 25
When I put in Speech.Say("Warning", "yes") it kept giving me an error, not allowing me to save. Is there someway to add a sound file?

What I am doing is in Eve Online, when someone comes into local that isn't a friendly, they are called a neut. These neuts have a grey box with an equal sign inside it. So I need to write a code that when image appears, an alarm will sound. I copy and pasted the say...this and that from a couple of forum spots in here, but it doesn't say anything, at all.


Top
 Profile  
Reply with quote  
 Post subject: Re: How Do I play warning sound
Thanked: 1 time(s)  Unread post Posted: Fri May 19, 2017 11:02 pm 
Gold Contributor
Gold Contributor
User avatar



Joined: Fri Oct 30, 2015 5:02 am
Posts: 291
Been thanked: 89 time(s)
Has thanked: 27 time(s)
Contribution Points: 924
try this :

Code:
 begin
     if  Image.Can be located on screen("", "")
          begin
               Speech.Say("warning, unfriendly visitor", "yes")
          end
 end

_________________
Anti - Macro protector script (by Davy) & Macro protector Warning Alarm
viewtopic.php?f=304&t=27497


Top
 Profile  
Reply with quote  
 Post subject: Re: How Do I play warning sound
Thanked: 0 time(s)  Unread post Posted: Sat May 20, 2017 2:30 am 
New User
New User



Joined: Sun Sep 27, 2015 12:56 pm
Posts: 12
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 25
OMG that worked perfectly. Thank you for helping me!!!


Top
 Profile  
Reply with quote  
 Post subject: Re: How Do I play warning sound
Thanked: 0 time(s)  Unread post Posted: Sat May 20, 2017 2:06 pm 
Gold Contributor
Gold Contributor
User avatar



Joined: Fri Oct 30, 2015 5:02 am
Posts: 291
Been thanked: 89 time(s)
Has thanked: 27 time(s)
Contribution Points: 924
;) glad I could help!

_________________
Anti - Macro protector script (by Davy) & Macro protector Warning Alarm
viewtopic.php?f=304&t=27497


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group