Word Counter

By Anti on Aug 17, 2007

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 :)

Comments

Sign in to comment.
Anti   -  Nov 05, 2007

Is there a way to make it so that it will tell you who said the word or w/e and when? yes there is a way if you want me to i can add it Hehehehe may take a while since i never get tot go on the computer

 Respond  
Anti   -  Oct 11, 2007

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 :)

 Respond  
Anti   -  Oct 11, 2007

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 :)

 Respond  
zad0909   -  Aug 22, 2007

Is there a way to make it so that it will tell you who said the word or w/e and when?

 Respond  
Olliegod   -  Aug 21, 2007

If you want a script which counts all words then try this Word Recorder: http://www.hawkee.com/snippet/2736/

 Respond  
stargazer989   -  Aug 21, 2007

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.

 Respond  
Cage   -  Aug 18, 2007

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]
}

 Respond  
stargazer989   -  Aug 18, 2007

err that was only a suggestion, sorry it looks like a command.

 Respond  
stargazer989   -  Aug 18, 2007

what about a total word counter? and make it so that everyone has a file, kinda like channel logs.

 Respond  
Ghost-lit Warder   -  Aug 17, 2007

You could also make this a writeini so that you can remove the word using remini if you want to make a new one.

 Respond  
Ghost-lit Warder   -  Aug 17, 2007

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 .

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.