non stop alert sound

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
Josamen
Noob
Noob
Posts: 3
Joined: 28 May 2018, 00:53
Noob?: Yes

non stop alert sound

#1 Post 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')
}

}

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: non stop alert sound

#2 Post by fadreus »

Tried with loop?

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

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Josamen
Noob
Noob
Posts: 3
Joined: 28 May 2018, 00:53
Noob?: Yes

Re: non stop alert sound

#3 Post 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 :? :? :?

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: non stop alert sound

#4 Post by fadreus »


iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Josamen
Noob
Noob
Posts: 3
Joined: 28 May 2018, 00:53
Noob?: Yes

Re: non stop alert sound

#5 Post 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

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: non stop alert sound

#6 Post by fadreus »

That picture is from wiki.
Just as example. :?

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Post Reply