Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.79 KB | None | 0 0
  1. <triggers>
  2.  <trigger
  3.  enabled="y"
  4.  match="^(\w+) takes some salve from a vial and rubs it on (?:his|her) (arms|legs|head|torso)?\.$"
  5.  regexp="y"
  6.  send_to="12"
  7.  sequence="100"
  8.  >
  9.  <send>
  10.  if "%2" == "arms" then
  11.   ColourNote("lime", "black", "[", "white", "black", "%1 APPLIED SALVE TO - ARMS -", "lime", "black", "]")
  12.  else
  13.  if "%3" == "legs" then
  14.   ColourNote("lime", "black", "[", "red", "black", "%1 APPLIED SALVE TO - LEGS -", "lime", "black", "]")
  15.  else
  16.  if "%3" == "torso" then
  17.   ColourNote("lime", "black", "[", "blue", "black", "%1 APPLIED SALVE TO - TORSO- ", "lime", "black", "]")
  18.  else
  19.  if "%3" == "head" then
  20.   ColourNote("lime", "black", "[", "orange", "black", "%1 APPLIED SALVE TO - HEAD -", "lime", "black", "]")
  21. end
  22. end
  23. end
  24. end
  25. </send>
  26. </trigger>
  27. </triggers>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement