I made a script which should halt certain text from being shown on the screen. I used: on ^*:text:...... { if (bla bla bla isin $1-) haltdef }
I noticed that all text was halted, and even if I remove the "if ..." it still being halted. I though the text should be halted only when the haltdef command is being executed.
I wonder what you have censored under the dots in on ^*:text:...... {
both these work for me, I dont have any script to modify the default text. on ^*:text:*blah*:#:haltdef on ^*:text:*:#:if (blah isin $1-) haltdef both only halt lines with "blah" in them.
If you do have anything else to modify the default text, then It is more likely to not halt than halt even if the text does not match.
I had a little bug. The script called to another fuction on the text even, and the other function had an halt inside it which caused all the text to be halted. Now it seems to be working.
you mean if you remove the "if" statement and the haltdef it's still being halted?, if you dont remove the haltdef that its going to halt all text for everything.