[alertsound] plugin - plays sounds on certain events
Moderator: Moderators
-
- Noob
- Posts: 4
- Joined: 19 Sep 2009, 22:01
- Noob?: No
- Location: Inside an apple seed covering.
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
Suggestion: How about we make a command to not beep on a certain character's private message or public message.
For example:
In config - noPlayers <player name> #Similar to the Kadiliman chatbot command.
This could be useful for me, I have a two party bot where the main pms the slave for warp and other functions that includes pms. It would be annoying if I keep getting beeps everytime they pm each other. ><''
Hope someone can help me with adding on this command.
Thanks <3
<3 Applekore
For example:
In config - noPlayers <player name> #Similar to the Kadiliman chatbot command.
This could be useful for me, I have a two party bot where the main pms the slave for warp and other functions that includes pms. It would be annoying if I keep getting beeps everytime they pm each other. ><''
Hope someone can help me with adding on this command.
Thanks <3
<3 Applekore
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
can this plugin run when console \Devil Square\i ?
if i use console command at macros my macros will crazy .
if i use console command at macros my macros will crazy .
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
Another suggestion: Have it beep if you find a certain item like a card or something. Would be cool.
-
- Plain Yogurt
- Posts: 58
- Joined: 24 Apr 2008, 00:26
- Noob?: No
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
automacro:Sushe wrote:Another suggestion: Have it beep if you find a certain item like a card or something. Would be cool.
Console \Card added to inventory\
call:
do play C:\Documents and Settings\All Users\Documents\beep-01.wav
Console \Devil Square\caal5 wrote:can this plugin run when console \Devil Square\i ?
if i use console command at macros my macros will crazy .
call:
run-once 1
exclusive 1
do play C:\Documents and Settings\All Users\Documents\beep-01.wav
Reference
im noob, but i know how to read config manual, command manual, macro manual but im still a noob.
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
Can someone explain me how does "Gm Near event" works?
and how can the plugin identify a gm?
thanks
and how can the plugin identify a gm?
thanks
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
can somebody explain me how does "GM NEAR" event work???
how can the plugin identify a GM ?
how can the plugin identify a GM ?
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
Not beeping for several characters, replaces this code in plugins file
with this
Code: Select all
if ($privMsgUser =~ /^([a-z]?ro)?-?(Sub)?-?\[?GM\]?/i) {
alertSound("private GM chat");
} else {
alertSound("private chat");
}
Code: Select all
if (($privMsgUser == "PlayerName1") || ($privMsgUser == "PlayerName2")) {
#Do Nothing
}
elsif (($privMsgUser =~ /^([a-z]?ro)?-?(Sub)?-?\[?GM\]?/i)) {
alertSound("private GM chat");
} else {
alertSound("private chat");
}
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
I think this plug-in is not compatible with SVN. Have someone made it work?
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
I can see in the console the notification of the plugin that I have died but the .wav file won't play.
Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph
i don't read this plugin, but there is a simpler way of making sound alerts.
example:
Just edit the filename ^_^
example:
Code: Select all
automacro someonePMedYou {
pm /(.*)/
call {
do eval Utils::Win32::playSound ('Filename')
}
}
Therefore:
automacro someonePMedYou {
pm /(.*)/
call {
do eval Utils::Win32::playSound ('C:\Program Files\Extras\VirtualDJ\effects\laugh.wav')
}
}
Just like old times.