Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Script--
- Venom = {
- ["curare"] = true,
- ["xentio"] = true,
- ["vardrax"] = true,
- ["euphorbia"] = true,
- ["voyria"] = true,
- ["eurypteria"] = true,
- ["darkshade"] = true,
- ["vernalius"] = true,
- ["kalmia"] = true,
- ["digitalis"] = true,
- ["delphinium"] = true,
- ["aconite"] = true,
- ["larkspur"] = true,
- ["monkshood"] = true,
- ["selarnia"] = true,
- ["prefarar"] = true,
- ["slike"] = true,
- }
- --Trigger, set to regex--
- ^You rub some (\w+) on a vorpal sword\.$
- for i,mat in ipairs(matches) do
- if Venom[matches[i]] then
- selectCaptureGroup(i)
- fg("red")
- bg("black")
- resetFormat()
- end
- end
- Note: If you didn't want to use a table, and only highlight the one wordyou can do this. For targeting and things like, Enemies list or Cities you'll want to use tables.
- ^You rub some (\w+) on a vorpal sword\.$
- selectCaptureGroup(2)
- fg("red")
- bg("black")
- resetFormat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement