Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
How to ignore text that starts with X whitespace?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: How to ignore text that starts with X whitespace?
beer
#
261495
14/10/17
08:37 PM
Joined:
Jan 2004
Posts: 2,127
maroon
Hoopy frood
maroon
Hoopy frood
Joined:
Jan 2004
Posts: 2,127
Code:
on *:TEXT:*:#:{ echo -s $1- echo -s $replace($rawmsg,$chr(32),+) / $replace($1-,$chr(32),+) }
This shows that using $1- strips out leading/trailing/extra spaces, so your regex never had a chance.
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
How to ignore text that starts with X whitespace?
beer
14/10/17
03:54 PM
Re: How to ignore text that starts with X whitespace?
maroon
14/10/17
08:37 PM
Re: How to ignore text that starts with X whitespace?
beer
14/10/17
11:43 PM
Re: How to ignore text that starts with X whitespace?
maroon
15/10/17
01:01 AM
Re: How to ignore text that starts with X whitespace?
beer
15/10/17
03:16 AM
Re: How to ignore text that starts with X whitespace?
maroon
15/10/17
04:02 AM
Re: How to ignore text that starts with X whitespace?
beer
15/10/17
04:54 AM
Re: How to ignore text that starts with X whitespace?
maroon
15/10/17
06:08 AM
Re: How to ignore text that starts with X whitespace?
beer
15/10/17
06:12 AM
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage