Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="ISO-8859-1" ?>
- <cmud>
- <class name="ChatCapture" copy="yes">
- <trigger priority="3440" case="true" prompt="true" copy="yes">
- <pattern>{You pray '|tells the group|You auction| auctions '|You reply|You tell|on ClanTalk|OOCs|You OOC|grats|Newbietalk| ICs in |^ * prays '|OOCly '</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\ui_tab_transition.wav"
- }</value>
- </trigger>
- <trigger priority="3970" copy="yes">
- <pattern>An Immortal tells you</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAPTURE "Chats"
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\desktop_toast_default.wav"
- }</value>
- </trigger>
- <trigger priority="5890" newline="false" copy="yes">
- <pattern><*> * ~[*~]:</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\ui_tab_transition.wav"
- }</value>
- </trigger>
- <trigger priority="3960" copy="yes">
- <pattern>Announcement: *</pattern>
- <value>#GAG
- :Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #GAG -1
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\ui_tab_transition.wav"
- }</value>
- </trigger>
- <trigger priority="3970" copy="yes">
- <pattern>%w replies</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\desktop_toast_default.wav"
- }</value>
- </trigger>
- <trigger priority="8710" ansi="true" prompt="true" copy="yes">
- <pattern>%e[36m%w: %e[37*%e[0m$</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\ui_tab_transition.wav"
- }</value>
- </trigger>
- <trigger priority="3970" copy="yes">
- <pattern>^%w tells you</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAPTURE "Chats"
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\desktop_toast_default.wav"
- }</value>
- </trigger>
- <var name="togglesound" copy="yes">1</var>
- <button type="Gauge" autosize="false" width="100" height="40" autopos="false" left="-310" top="2" toolbar="0" toolstyle="true" color="#3366FF" textcolor="white" gaugebackcol="#333333" priority="737655" copy="yes">
- <caption>Sound</caption>
- <value>#IF (@togglesound == 1) {
- #VAR togglesound 0
- }
- {
- #VAR togglesound 1
- }</value>
- <expr>@togglesound</expr>
- <gaugemax>1</gaugemax>
- <gaugelow>0</gaugelow>
- </button>
- <trigger priority="3440" regex="true" prompt="true" copy="yes">
- <pattern>\[[a-zA-Z ]{10}\][A-Z a-z]*:</pattern>
- <value>:Chats:#SAYP ~[%time( h:m a/p)m~]
- #CAP Chats
- #IF (@togglesound == 1) {
- #PLAY "ansalon\Sounds\ui_tab_transition.wav"
- }</value>
- </trigger>
- </class>
- </cmud>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement