This is a nick counter put it on a bot.. also.. this might work better if you're a experienced scripter enjoy it i think it's kinda useless kinda nice to see what people said about you in the Counter.txt and also.. the txt creates it self! also might want to delete the words in the txt before you add a new nick or word to it thanks :)
cage what do you mean it\'s kinda useless explain plx :P all you said was > If that\'s all you\'re using the .txt file for, it\'s useless. A simple variable would do the same thing.
on :TEXT::#: {
inc %word 1
}
on :TEXT:.Counter:#: {
.msg $chan 11[ Has Been Said: %word Times11]
} rofl not helping :)
If you want a script which counts all words then try this Word Recorder: http://www.hawkee.com/snippet/2736/
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 .