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
Joined:
May 2005
Posts: 79
M
Mary_juana
OP
Babel fish
OP
Mary_juana
Babel fish
M
Joined:
May 2005
Posts: 79
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: 249
Ottawa, Canada
C
ClickHeRe
Fjord artisan
ClickHeRe
Fjord artisan
C
Joined:
Jan 2003
Posts: 249
Ottawa, Canada
$calc( $len( text ) - $len( $strip( text ) ) )
David
DCX - Dialog Control eXtension
Copy Link to Clipboard
Re: Counting Ctrl codes
#
136512
29/11/05
03:11 PM
Joined:
Feb 2005
Posts: 681
Your dreams ;)
M
mIRCManiac
Fjord artisan
mIRCManiac
Fjord artisan
M
Joined:
Feb 2005
Posts: 681
Your dreams ;)
/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
Joined:
May 2005
Posts: 79
M
Mary_juana
OP
Babel fish
OP
Mary_juana
Babel fish
M
Joined:
May 2005
Posts: 79
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
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage