-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raidboss Emulator: suppressSeconds
cannot be used with regex
, but it can be used with netRegex
.
#5530
Comments
Is this a raid emulator bug only? Also, what are you trying to do that you need a regex? |
Yes, it's an emulator-only bug.
(generated by translation software) Compared to using the standard construction syntax provided by cactbot and then using the This time, I just wanted to quickly match the logs where the LB resets when the gauge is full. So I directly wrote |
Although it's off-topic, I'd like to mention: Is there a way for me to access The second instance where I need access to If it's possible to obtain |
This is what I would recommend doing. Pass Storing a global reference to |
I understand. Thank you. |
suppressSeconds
cannot be used with regex
, but it can be used with netRegex
.suppressSeconds
cannot be used with regex
, but it can be used with netRegex
.
Sorry to continue this offtopic conversation, but I had a couple of other thoughts. Do you have use cases that you find yourself doing a lot that would be helpful? For example, if you have a lot of ui options and need to check if those options are on, I could think that we could add a My other suggestion also is to write in TypeScript if you can. This is up to your own preference in terms of what is comfortable to program in, but TypeScript and
Right now, things like |
It's great to continue the discussion! Regarding the built-in fields, the new config configuration method is already very effective, but there are still some optimizations that I think can be made:
Thank you for providing a detailed tutorial on how to use TypeScript. I will give it a try (previously, I didn't understand the correct way). |
Oh, you mean conditions. I think I misunderstood you. The translation wasn't very clear. But if it's about conditions, then there's no problem. I can check |
As mentioned in the title, I have some specific regex requirements, so I used
regex
. However, I found that it cannot be used withsuppressSeconds
, and it throws an error saying "Uncaught (in promise) Error: This code shouldn't be reached." I don't understand why this is happening.Here are two simple demos, and the second trigger will cause the error.
The text was updated successfully, but these errors were encountered: