Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Alias enchant *
- Execute ("buy %1")
- Execute("c solidify %1")
- Execute ("c identify %1")
- -- SEND TO :script
- required alias #alias {*} {*}
- require "addxml" -- addxml extension
- -- add the alias
- addxml.alias {
- name = "command_line_alias_" .. string.gsub(Base64Encode("%1"), "=", ""),
- match = "%1",
- send = "%2",
- sequence = 100,
- enabled = true,
- send_to = 10,
- group = "command_line_aliases"
- }
- ColourNote ("white", "green", "Added alias to match on '%1', sending '%2'")
- -- SEND TO :script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement