I have a script that highlights a list of names using (@!enemies) and I also have a script that announces if one of them enters or leaves the area. The highlighter matches \b(@!enemies)\b. The problem I have is that the other script that announces when they enter/leave doesn't work while \b is used. Is there a way to make both work?
These are the exact matching lines.
Highlighter: \b(@!enemies)\b
Announcement: ^(\w+) has (entered|left) the area\.$
This one highlights all people entering/leaving the area so I added this in the script field
if "%1" == "(@!enemies)" then
Send("ct %1 in!")
end
I hope this is clear enough and thanks for any insight.
These are the exact matching lines.
Highlighter: \b(@!enemies)\b
Announcement: ^(\w+) has (entered|left) the area\.$
This one highlights all people entering/leaving the area so I added this in the script field
if "%1" == "(@!enemies)" then
Send("ct %1 in!")
end
I hope this is clear enough and thanks for any insight.