Page 1 of 1

non stop alert sound

Posted: 28 May 2018, 01:04
by Josamen
Hello, I have problem with alert sound when bot got PM its play sound with only one time but i need to spam play. Can anyone help?
this my automacro
automacro PM {
pm /.*/i
timeout 2
call {
do eval Utils::Win32::playSound('D:\Alert.wav')
}

}

Re: non stop alert sound

Posted: 28 May 2018, 07:55
by fadreus
Tried with loop?

I never use it so can't give any example.

Re: non stop alert sound

Posted: 28 May 2018, 10:48
by Josamen
Yess sir. I need to do with sound loop but this code one MSG with one sound play and not do as loop :? :? :?

Re: non stop alert sound

Posted: 28 May 2018, 13:58
by fadreus

Re: non stop alert sound

Posted: 28 May 2018, 20:57
by Josamen
It's Elu/Ori carry condition right? But this case when bot recived some PM its a do with one MSG for one Alert time IDK how to do becuz can use do as loop control command dont like somethimg in inventory /cry /cry /cry

Re: non stop alert sound

Posted: 29 May 2018, 03:08
by fadreus
That picture is from wiki.
Just as example. :?