SCT_EVENT_CONFIG.lua |
Description
This file is used to setup custom events for use in SCT. Most of the old limitations have been removed, so you can now check for custom events on most chat log messages. You can now also perform captures on the text and display the data in a customized format. for each event you must setup three required settings. for captured events you must setup one requiredsetting. All events can also have one optional setting: nameNote Make sure you increase the key count ([1], [2], etc...) for each new event you add. Feel free to delete any of the already provided events if you know you will never need them or you dont want them to display. You may also place -- in front of any of them to comment them out. Problems if the event you are wanting to add is not being displayed by SCT make sure you double check the search text. Any space, comma, or period out of place will cause it to fail. There is also the chance that the event you are wanting to add is not a valid event. Examples --your heals [8] = {name="+*2", argcount=2, search="Your (.+) critically heals you for (%d+)", r=0/256, g=256/256, b=0/256, iscrit=1}, [9] = {name="+*2", argcount=2, search="Your (.+) heals you for (%d+)", r=0/256, g=256/256, b=0/256}, [10] = {name="*2: +*3", argcount=3, search="Your (.+) critically heals (.+) for (%d+)", r=0/256, g=256/256, b=0/256, iscrit=1}, [11] = {name="*2: +*3", argcount=3, search="Your (.+) heals (.+) for (%d+)", r=0/256, g=256/256, b=0/256}, --heals to you. Note turn off the in games heal option to remove double messages. [12] = {name="+*3 (*1)", argcount=3, search="(.+)'s (.+) critically heals you for (%d+)", r=0/256, g=256/256, b=0/256, iscrit=1}, [13] = {name="+*3 (*1)", argcount=3, search="(.+)'s (.+) heals you for (%d+)", r=0/256, g=256/256, b=0/256}, [14] = {name="+*1 (*2)", argcount=2, search="You gain (%d+) health from (.+)'s (.+)", r=0/256, g=256/256, b=0/256}, [15] = {name="+*1 (*2)", argcount=2, search="You gain (%d+) health from (.+).", r=0/256, g=256/256, b=0/256}, --all your hits [16] = {name="*2: *3 (*1)", argcount=3, search="Your (.+) hits (.+) for (%d+)", r=256/256, g=256/256, b=0/256}, [17] = {name="*1: *2", argcount=2, search="You hit (.+) for (%d+)", r=256/256, g=256/256, b=0/256}, --critical hits [18] = {name="Critical! (*1: *3)", argcount=3, search="Your (.+) crits (.+) for (%d+)", r=256/256, g=256/256, b=0/256}, [19] = {name="Critical! (*2)", argcount=2, search="You crit (.+) for (%d+)", r=256/256, g=256/256, b=0/256}, |