Top

Word Count


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  5.5
Scores Submitted  2
Date Added  Jun 12, 2007
Last Updated  Jun 12, 2007
Tags  count  counter  word 
  Bookmark and Share

Introduction

Like the title said, it count words when added to the database.

Just thought I post this as a snippet. It's a minor update to the code I posted on this thread.

Usage:

!addword <word>
!countword <word>
!delword <word>

Grab the Code

Comments

  (8)  RSS
Noutrious
Comments: 355
 
mIRC Snippet:  Word Count
Posted on Jun 12, 2007 4:27 am
It's nice, but i think, that:
Quote:
msg $chan Deleted $2 in my database.

Corrected would be
Quote:
msg $chan Deleted $2 from my database.


Greets! :)
xDaeMoN
Comments: 696
 
mIRC Snippet:  Word Count
Posted on Jun 12, 2007 11:04 am
Thanks. Got that corrected now. :)
lordmedo
Comments: 3
 
mIRC Snippet:  Word Count
Posted on Jun 16, 2007 9:31 am
i dont know how to install this code?
i tried pasting it to remote but no effect...
xDaeMoN
Comments: 696
 
mIRC Snippet:  Word Count
Posted on Jun 18, 2007 8:16 am
@ lordmedo, if you copy/pasted it to your remotes section, that is correct. Other people would have to type the commands. If you are typing the commands, it won't work since you have the script.
lordmedo
Comments: 3
 
mIRC Snippet:  Word Count
Posted on Jun 20, 2007 7:41 pm
Now this happens:

[02:34:58] <lord_medo> !addword wuk
[02:34:58] <WoLf> Added wuk in my database.
[02:35:03] <lord_medo> wuk wuk
[02:35:09] <lord_medo> !countword wuk
[02:35:09] <WoLf> That word is not in my database.

also, it doesn't say anything to !delword wuk or when twice adding the same word...
xDaeMoN
Comments: 696
 
mIRC Snippet:  Word Count
Posted on Jun 20, 2007 8:59 pm
Did you paste it on a new remote file? What version of mIRC is your bot using? I've tested it several times with the latest version & should work from 6.17 because of the $qt, but other than that, I can't think of anything that would make it not work for you.
lordmedo
Comments: 3
 
mIRC Snippet:  Word Count
Posted on Jul 3, 2007 4:36 am
on mirc 6.21 it works fine, i had mirc 6.12 before. thanks
xDaeMoN
Comments: 696
 
mIRC Snippet:  Word Count
Posted on Jul 3, 2007 9:09 am
That's good. =)

Please Register or Login to start posting comments.
Bottom