Word Counter
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Aug 17, 2007 |
| Last Updated | Aug 17, 2007 |
| Tags | counter nick |
Introduction
mIRC Snippet:
Word Counter
Posted on Aug 17, 2007 10:11 pm
Posted on Aug 17, 2007 10:11 pm
perhaps add an alias to return the selected word or nick. (Custom identifier).
Here is a the code I would recommend:
alias $selectword {
if (%selword == $null) {
set %selword $?=\"Enter word or nick to log.\"
}
else {
return %selword
}
}
And you can make the on *:TEXT event to:
on *:TEXT:*:*:{
if ($selectedword isin $1-) etc.
This makes it so that you can set the word or nick via /set %selword .
Here is a the code I would recommend:
alias $selectword {
if (%selword == $null) {
set %selword $?=\"Enter word or nick to log.\"
}
else {
return %selword
}
}
And you can make the on *:TEXT event to:
on *:TEXT:*:*:{
if ($selectedword isin $1-) etc.
This makes it so that you can set the word or nick via /set %selword .
mIRC Snippet:
Word Counter
Posted on Aug 17, 2007 10:14 pm
Posted on Aug 17, 2007 10:14 pm
You could also make this a writeini so that you can remove the word using remini if you want to make a new one.
mIRC Snippet:
Word Counter
Posted on Aug 18, 2007 12:38 am
Posted on Aug 18, 2007 12:38 am
what about a total word counter? and make it so that everyone has a file, kinda like channel logs.
mIRC Snippet:
Word Counter
Posted on Aug 18, 2007 12:54 am
Posted on Aug 18, 2007 12:54 am
err that was only a suggestion, sorry it looks like a command.
mIRC Snippet:
Word Counter
Posted on Aug 18, 2007 3:26 am
Posted on Aug 18, 2007 3:26 am
If that\'s all you\'re using the .txt file for, it\'s useless. A simple variable would do the same thing.
on *:TEXT:*<Word-Or-Nick-Here>*:#: {
inc %word 1
}
on *:TEXT:.Counter:#: {
.msg $chan 11[<Word-Or-Nick-Here> Has Been Said: %word Times11]
}
on *:TEXT:*<Word-Or-Nick-Here>*:#: {
inc %word 1
}
on *:TEXT:.Counter:#: {
.msg $chan 11[<Word-Or-Nick-Here> Has Been Said: %word Times11]
}
mIRC Snippet:
Word Counter
Posted on Aug 21, 2007 2:21 am
Posted on Aug 21, 2007 2:21 am
Nah i was talking more about like a *total* word counter not just a specific word counter, i know about a line counter but i want a word counter, that\'d be better.
mIRC Snippet:
Word Counter
Posted on Aug 21, 2007 2:59 am
Posted on Aug 21, 2007 2:59 am
If you want a script which counts all words then try this Word Recorder: http://www.hawkee.com/snippet/2736/
mIRC Snippet:
Word Counter
Posted on Aug 22, 2007 11:29 am
Posted on Aug 22, 2007 11:29 am
Is there a way to make it so that it will tell you who said the word or w/e and when?
mIRC Snippet:
Word Counter
Posted on Oct 11, 2007 10:11 am
Posted on Oct 11, 2007 10:11 am
maybe i maybe could do that but im at school i dont got the time to making scripts just to fix them up wheni get my compute fixed and get the internet back up and running ill fix everything :PP enjoy :)
mIRC Snippet:
Word Counter
Posted on Oct 11, 2007 10:14 am
Posted on Oct 11, 2007 10:14 am
cage what do you mean it\'s kinda useless explain plx :P all you said was
rofl not helping :)
| Quote: |
| If that\'s all you\'re using the .txt file for, it\'s useless. A simple variable would do the same thing. on *:TEXT:*<Word-Or-Nick-Here>*:#: { inc %word 1 } on *:TEXT:.Counter:#: { .msg $chan 11[<Word-Or-Nick-Here> Has Been Said: %word Times11] } |
mIRC Snippet:
Word Counter
Posted on Nov 5, 2007 10:33 am
Posted on Nov 5, 2007 10:33 am
| Quote: |
| Is there a way to make it so that it will tell you who said the word or w/e and when? |








