Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- // Turns your volume to a specified level, and plays a sound when a specific string is shown in chat.
- // Name a snitch with a specific code (/janame snitchname), and the sound will play when someone enters the snitch field.
- // This file must be bound to the OnChat event. Press SHIFT ~ to open the macro mod menu, then use the arrows at the
- // top of the screen to find "Macro Bindings: Events"
- // Click the "OnChat" button, then use "$$<filename.txt>" to bind this file to the event.
- // If you want it to log out, remove the // from line 22
- // By doing this, you can make it impossible for your bots to be killed.
- // Config
- &string = "snitchname"
- #setvolume = 100
- #alertvolume = 100
- // End Config
- ifcontains(%CHATCLEAN%,"%&string%");
- volume(%#setvolume%);
- playsound(custom.ExtralongWarp,%#alertvolume%);
- // disconnect();
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement