Advertisement
Guest User

Untitled

a guest
May 27th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Pattern is:
  2.  
  3. ^t (\w+)$
  4.  
  5. --Code is:
  6. target = string.lower(matches[2])
  7. cecho("\n<red>MY TARGET IS: <white>"..string.title(target))
  8.  
  9. if (colourtarget) then killTrigger(colourtarget) end
  10. colourtarget = tempTrigger(target, [[selectString("]] .. target .. [[", 1) fg("gold") deselect() resetFormat()]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement