Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Word count (on *:TEXT)
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Word count (on *:TEXT)
#
124129
02/07/05
11:59 PM
B
BNX
BNX
B
How would I go about making a script that would increase a variable everytime a specific word is said.
Example:
%var = 0
Word is "smurf"
<person> The
smurf
met another
smurf
and they lived in
smurf
town
%var = 3
Copy Link to Clipboard
Re: Word count (on *:TEXT)
#
124130
03/07/05
12:02 AM
Joined:
Dec 2002
Posts: 3,534
Kent, England
S
SladeKraven
Hoopy frood
SladeKraven
Hoopy frood
S
Joined:
Dec 2002
Posts: 3,534
Kent, England
Is
this
any use to you, dude?
-Andy
Copy Link to Clipboard
Re: Word count (on *:TEXT)
#
124131
03/07/05
12:05 AM
Joined:
Nov 2003
Posts: 2,321
T
tidy_trax
Hoopy frood
tidy_trax
Hoopy frood
T
Joined:
Nov 2003
Posts: 2,321
Code:
on *:text:*smurf*:#:{ inc %var $count($1-,smurf) }
Copy Link to Clipboard
Re: Word count (on *:TEXT)
#
124132
03/07/05
12:10 AM
D
DaveC
DaveC
D
that reply was just smurfly!
Copy Link to Clipboard
Re: Word count (on *:TEXT)
#
124133
03/07/05
12:53 AM
B
BNX
BNX
B
wow, i had never thought of that XD
I feel dumb.
Thanks tidy, I finished my swearjar script
[edit] OUR swearjar script :tongue:
Last edited by BNX;
03/07/05
02:13 AM
.
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
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage