Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ^k ([A-Za-z0-9'\-]+)
  2.  
  3. target = matches[2] -- set the target variable
  4. send("SETTARGET " .. target, false) -- set that as the gametarget too
  5. target = target:title()
  6. ak.oresetparse()
  7.  
  8. if t_hl then killTrigger(t_hl) end -- kill old highlight if present
  9. t_hl = tempTrigger(target, [[selectString("]] .. target .. [[", 1) fg("red") resetFormat()]]) -- highlight target red!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement