Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Counting Ctrl codes
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Counting Ctrl codes
#
136510
29/11/05
01:43 PM
M
Mary_juana
Mary_juana
M
I've been making a little stats alias for myself where i add these things into the on input event
inc %lines $1
inc %chars $len($remspace($1-))
inc %words $numtok($1-,32)
works ok, but i wanted to count ctrl codes that i use (not including spaces) but i don't know how to go about that, my guess is that it might involve $regex which i have absolutly no idea about
any help would be great. thanks
Copy Link to Clipboard
Re: Counting Ctrl codes
#
136511
29/11/05
01:45 PM
Joined:
Jan 2003
Posts: 247
Ottawa, Canada
C
ClickHeRe
Fjord artisan
ClickHeRe
Fjord artisan
C
Joined:
Jan 2003
Posts: 247
Ottawa, Canada
$calc( $len( text ) - $len( $strip( text ) ) )
Copy Link to Clipboard
Re: Counting Ctrl codes
#
136512
29/11/05
03:11 PM
M
mIRCManiac
mIRCManiac
M
/help $count
$count(
string
,,,,)
~ Edit ~
,,, = 2,3,22,31 = bold,color,reverse,underline
Last edited by mIRCManiac;
29/11/05
03:16 PM
.
Copy Link to Clipboard
Re: Counting Ctrl codes
#
136513
29/11/05
03:28 PM
M
Mary_juana
Mary_juana
M
Thanks guys, sometimes the easy things seem to evade my mind
Copy Link to Clipboard
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 Threaded 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