|
Post by Darth Maul on Feb 1, 2015 16:47:58 GMT
Play an Alarm when an Event is OpenThis will play an alarm every time someone else joins an event. The more players joining the event the more sound you'll hear.. This script wont join the event for you. Limitations:- If no-one else is joining the event, no sound will play.
- This only detects the status messages (the small white text above the chat window). If the server stops sending status messages when someone joins an event it wont work.
auto 100 | listas 'Event Alarm' | if [$curmsg.content ? 'has joined' && $curmsg.isstatus] {playsound 'playerattacking.wav' | wait 1000} Event Script List:
|
|
|
Post by Darth Maul on Oct 30, 2015 2:36:20 GMT
Updated Original Post.
|
|
|
Post by azhaurn on Jun 25, 2016 20:51:42 GMT
How can I do a auto join?
|
|
|
Post by Darth Maul on Jul 6, 2016 5:55:43 GMT
|
|
Talex
Honored Member
Posts: 47 Likes: 21
Currently Offline
Last Online: Oct 18, 2016 5:55:23 GMT
View Profile
Registered On: Aug 12, 2016 3:22:33 GMT
|
Post by Talex on Sept 17, 2016 16:49:19 GMT
Play an Alarm when an Event is OpenThis will play an alarm every time someone else joins an event. The more players joining the event the more sound you'll hear.. This script wont join the event for you. Limitations:- If no-one else is joining the event, no sound will play.
- This only detects the status messages (the small white text above the chat window). If the server stops sending status messages when someone joins an event it wont work.
auto 100 | listas 'Event Alarm' | if [$curmsg.content ? 'has joined' && $curmsg.isstatus] {playsound 'playerattacking.wav' | wait 1000} Ok, so i tried to edit this on my own to make it sound an alarm by replaceing 'has joined' with 'You have killed 55 out of 150 monsters for Yorick The Grave Digger's quest.' and i could not get it to work, i figured were the message showed up in the same place on the screen it would work but for some reason it wont, ive checked all the spelling and placement, If you could help me with this it would be awesome and i would have a new script to post ^^ . Any help would be greatly Appretiated. And if it helps the hotkey looks like this: auto 100 | listas 'Event Alarm' | if [$curmsg.content ? 'You have killed 55 out of 150 monsters for Yorick The Grave Digger's quest.' && $curmsg.isstatus] {playsound 'playerattacking.wav' | wait 1000}
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on Sept 17, 2016 18:35:34 GMT
Play an Alarm when an Event is OpenThis will play an alarm every time someone else joins an event. The more players joining the event the more sound you'll hear.. This script wont join the event for you. Limitations:- If no-one else is joining the event, no sound will play.
- This only detects the status messages (the small white text above the chat window). If the server stops sending status messages when someone joins an event it wont work.
auto 100 | listas 'Event Alarm' | if [$curmsg.content ? 'has joined' && $curmsg.isstatus] {playsound 'playerattacking.wav' | wait 1000} Ok, so i tried to edit this on my own to make it sound an alarm by replaceing 'has joined' with 'You have killed 55 out of 150 monsters for Yorick The Grave Digger's quest.' and i could not get it to work, i figured were the message showed up in the same place on the screen it would work but for some reason it wont, ive checked all the spelling and placement, If you could help me with this it would be awesome and i would have a new script to post ^^ . Any help would be greatly Appretiated. And if it helps the hotkey looks like this: auto 100 | listas 'Event Alarm' | if [$curmsg.content ? 'You have killed 55 out of 150 monsters for Yorick The Grave Digger's quest.' && $curmsg.isstatus] {playsound 'playerattacking.wav' | wait 1000} try this: auto 100 listas 'Event Alarm' | foreach 'newmessages' $event if [$event.content ? 'You have killed 55 out of 150 monsters for Yorick The Grave Digger's quest.' && $event.isstatus] {playsound playerattacking.wav | wait 1000}
Should work better than $curmsg since it checks all messages not just the last one. P.S. Don't forget code tags when you post a script.
|
|
|
Post by Darth Maul on Sept 18, 2016 1:43:31 GMT
Can you create a thread in the request board? Or if the script works fine, create a thread here with the working script: elfbotscripts.com/board/9/noxious-scriptsThis request isn't related to this thread (i.e. it isn't event related); I'd like to delete the posts related to it. (sorry)
|
|