Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Alias enchant *
  2.  
  3. Execute ("buy %1")
  4. Execute("c solidify %1")
  5. Execute ("c identify %1")
  6.  
  7. -- SEND TO :script
  8.  
  9. required alias #alias {*} {*}
  10.  
  11. require "addxml" -- addxml extension
  12.  
  13. -- add the alias
  14.  
  15. addxml.alias {
  16. name = "command_line_alias_" .. string.gsub(Base64Encode("%1"), "=", ""),
  17. match = "%1",
  18. send = "%2",
  19. sequence = 100,
  20. enabled = true,
  21. send_to = 10,
  22. group = "command_line_aliases"
  23. }
  24.  
  25. ColourNote ("white", "green", "Added alias to match on '%1', sending '%2'")
  26.  
  27.  
  28. -- SEND TO :script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement