Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- regexp (blue) triggers:
- ^<used as (.*)> (.*)$
- ^<worn on (.*)> (.*)$
- ^<worn around (.*)> (.*)$
- ^<(.*)> (.*)$
- trigger code:
- local eqitem = matches[3]:gsub("^%s*", "")
- -- cut at .. if needed
- if string.find(eqitem, "%.%.") ~= nil then
- eqitem = string.split(eqitem,"%.%.")[1]
- end
- local equrl = "http://slothmudeq.tk/?search=" .. eqitem
- fg("blue")
- insertLink("SLOTHEQ", [[ openUrl("]].. equrl .. [[")]], equrl,true)
- fg("white")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement