Input event questions. - 22/05/05 01:18 AM
Several input questions.
How would I get, in a $1-, to bring up spaces between words and , ! ?'s
For example,
Hello there !, would be, Hello there!
Secondly, how would I remove excessive of them chars.
Huh????? would be Huh?
Thirdly, now depending on the first and second code, there may not be need for a 3rd one.
A Hello there !!!, if the first code does not make it Hello there!!! and the second code does not make that one Hello there!, then yes, a third code to bring the two codes together.
And, in an input $1- string, how would I detect if one $N is before another $N?
For example, if the word 'Jackie' is before the word 'chan' in a $1- string,. I have a code that makes 'chan' 'channel' and was wondering if there was a way to have mirc detect if a certain word is before one, so I could use it in an if statement.
Thanks.
How would I get, in a $1-, to bring up spaces between words and , ! ?'s
For example,
Hello there !, would be, Hello there!
Secondly, how would I remove excessive of them chars.
Huh????? would be Huh?
Thirdly, now depending on the first and second code, there may not be need for a 3rd one.
A Hello there !!!, if the first code does not make it Hello there!!! and the second code does not make that one Hello there!, then yes, a third code to bring the two codes together.
And, in an input $1- string, how would I detect if one $N is before another $N?
For example, if the word 'Jackie' is before the word 'chan' in a $1- string,. I have a code that makes 'chan' 'channel' and was wondering if there was a way to have mirc detect if a certain word is before one, so I could use it in an if statement.
Thanks.