Top

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

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

Grab the Code

Comments

  (11)  RSS
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Word Counter
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 .
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Word Counter
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.
stargazer989
Comments: 28
 
mIRC Snippet:  Word Counter
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.
stargazer989
Comments: 28
 
mIRC Snippet:  Word Counter
Posted on Aug 18, 2007 12:54 am
err that was only a suggestion, sorry it looks like a command.
Cage
Comments: 34
 
mIRC Snippet:  Word Counter
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]
}
stargazer989
Comments: 28
 
mIRC Snippet:  Word Counter
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.
Olliegod
Comments: 74
 
mIRC Snippet:  Word Counter
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/
zad0909
Comments: 14
 
mIRC Snippet:  Word Counter
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?
Anti
Comments: 305
 
mIRC Snippet:  Word Counter
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 :)
Anti
Comments: 305
 
mIRC Snippet:  Word Counter
Posted on Oct 11, 2007 10:14 am
cage what do you mean it\'s kinda useless explain plx :P all you said was
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]
}
rofl not helping :)
Anti
Comments: 305
 
mIRC Snippet:  Word Counter
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?
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

Please Register or Login to start posting comments.
Bottom