Caighan

Tell Alerts For MushClient IRE Games

Jul 27th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.53 KB | None | 0 0
  1. <triggers>
  2.   <trigger
  3.   enabled="y"
  4.   group="Stephen - Communication"
  5.   match="^(.*) tells you\, (.*)\.\&quot;$"
  6.   name="tell_alert"
  7.   regexp="y"
  8.   send_to="12"
  9.   sequence="100"
  10.  >
  11.   <send>if tellAlert == "Verbose" then
  12.   talk:Speak("%2", 1)
  13. else
  14.   talk:Speak("new tell", 1)
  15. end</send>
  16.   </trigger>
  17. </triggers>
  18.  
  19. <!--  Aliases  -->
  20.  
  21. <aliases>
  22.   <alias
  23.   name="tell_alert_off"
  24.   match="^tell off$"
  25.   enabled="y"
  26.   group="Stephen - Communication"
  27.   regexp="y"
  28.   send_to="12"
  29.   sequence="100"
  30.  >
  31.   <send>EnableTrigger("tell_alert", true)
  32.  
  33. AnsiNote (ANSI (35, 1, 4, 7, 40), "Will start recieving tell alerts!")
  34. talk:Speak("will stop recieving tell alerts", 1)
  35.  
  36. tellAlert = "Off"
  37.  
  38. infobar.refresh()</send>
  39.   </alias>
  40.   <alias
  41.   name="tell_alert_verbose"
  42.   match="^tell verbose$"
  43.   enabled="y"
  44.   group="Stephen - Communication"
  45.   regexp="y"
  46.   send_to="12"
  47.   sequence="100"
  48.  >
  49.   <send>EnableTrigger("tell_alert", true)
  50.  
  51. AnsiNote (ANSI (35, 1, 4, 40), "Will start reading tells aloud!")
  52. talk:Speak("Will start reading tells aloud", 1)
  53. tellAlert = "Verbose"
  54.  
  55. infobar.refresh()</send>
  56.   </alias>
  57.   <alias
  58.   name="tell_alert_on"
  59.   match="^tell on$"
  60.   enabled="y"
  61.   group="Stephen - Communication"
  62.   regexp="y"
  63.   send_to="12"
  64.   sequence="100"
  65.  >
  66.   <send>EnableTrigger("tell_alert", true)
  67.  
  68. AnsiNote (ANSI (35, 1, 4, 40), "Will start recieving tell alerts!")
  69. talk:Speak("Will start recieving tell alerts", 1)
  70.  
  71. tellAlert = "On"
  72.  
  73. infobar.refresh()</send>
  74.   </alias>
  75. </aliases>
Advertisement
Add Comment
Please, Sign In to add comment