priMELval

get uuid macro

Nov 13th, 2016
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $${
  2.  
  3. // Bind to onChat and a gui button
  4.  
  5. IF(%KEYNAME%="onChat")
  6. STRIP(&chat,%CHAT%)
  7. IFMATCHES(%&chat%,"\((.{8})-(.{4})-(.{4})-(.{4})-(.{12})\)")
  8. MATCH(%&chat%,"((.{8})-(.{4})-(.{4})-(.{4})-(.{12}))",{@&uuid})
  9. ENDIF
  10. ELSEK
  11. KEY(chat)
  12. TYPE(%@&uuid%)
  13. ENDIF
  14. }$$
Advertisement
Add Comment
Please, Sign In to add comment