Tavon2005-08-21 07:12:35
How do you replace an entire line of text with one of your own? I must be just looking past it for whatever reason.
Unknown2005-08-21 10:29:36
1. Create a function in your script that outputs your message with something like Note or ColourNote.
2. Create a trigger for the message you want to replace and select 'Omit from Output' and 'Send to World.' Enter your script function name into the Script field at the bottom (not in the Send box).
This is the only way to omit the pattern and still be able to display another in its place. If you try to put text in the Send field, it will be omitted from your output.
2. Create a trigger for the message you want to replace and select 'Omit from Output' and 'Send to World.' Enter your script function name into the Script field at the bottom (not in the Send box).
This is the only way to omit the pattern and still be able to display another in its place. If you try to put text in the Send field, it will be omitted from your output.
Ethelon2005-08-21 10:36:23
Example: (just replace the match="testline" with match="whatever it is you need here")
  enabled="y"
 match="testline"
 omit_from_output="y"
 regexp="y"
 script="testline"
 sequence="100"
 >
Â
In the following, you have to make a script with the following,
sub testline (a, b, c)
ColourNote "salmon", "black", "Put your words here!"
end sub
CODE
Â
 match="testline"
 omit_from_output="y"
 regexp="y"
 script="testline"
 sequence="100"
 >
Â
In the following, you have to make a script with the following,
CODE
sub testline (a, b, c)
ColourNote "salmon", "black", "Put your words here!"
end sub
Tavon2005-08-21 15:22:19
Ah, you have to call the script from the script line at the bottom. Thanks.