Bot dictionary
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 4.3 (of 4 scores) |
| Date Added | Sep 15, 2007 |
| Last Updated | Sep 22, 2007 |
| Tags | bot dictionary word |
Introduction
!addef (word) (definition)
!deldef (word)
!editdef (word) (definition)
!viewdictionary
!define (word)
Please type: /set %myowner (owner) in the bot's mirc so that it will respond to you.
mIRC Snippet:
Bot dictionary
Posted on Sep 20, 2007 1:48 am
Posted on Sep 20, 2007 1:48 am
look interisting i will try it
mIRC Snippet:
Bot dictionary
Posted on Sep 22, 2007 2:38 pm
Posted on Sep 22, 2007 2:38 pm
hmmm...
very nice but maybe you could add
an "on *:LOAD:" and have it ask for the owner name.
very nice but maybe you could add
an "on *:LOAD:" and have it ask for the owner name.
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 5:06 am
Posted on Jan 1, 2008 5:06 am
is there any way i can add more than one owner jic other people want to use it also?
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 5:12 am
Posted on Jan 1, 2008 5:12 am
and another thing (idk if you noticed it) if you type * <text> it adds the first word in your text to the dictionary then the following text as the definition
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 6:21 pm
Posted on Jan 1, 2008 6:21 pm
why "if ($nick [b]iswm] %myowner) {" ?
someone could simply use a similar nick to the owner and delete every word ... and for the other if's, u should use ==
for the if $2-3, u only need if $3 because if there is a $3, there's automatically a $2
and rather than using while, use if and else
and rather than halting, put a . in front of the command (.notice $nick ...)
someone could simply use a similar nick to the owner and delete every word ... and for the other if's, u should use ==
for the if $2-3, u only need if $3 because if there is a $3, there's automatically a $2
and rather than using while, use if and else
and rather than halting, put a . in front of the command (.notice $nick ...)
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 8:30 pm
Posted on Jan 1, 2008 8:30 pm
| Quote: |
| why "if ($nick [b]iswm] %myowner) {" ? someone could simply use a similar nick to the owner and delete every word ... and for the other if's, u should use == |
No, not really. It would have to use $+(*,%myowner,*) or something similar to match the nick. Just %myowner would make the script make sure it was positively %myowner.
Try it using something like this:
| Code: |
| alias testnick { if ($1 iswm Rebellious) { echo -a Match! } else { echo -a No match! } } |
/testnick Rebellious would return Match! while /testnick Rebellious1 would return No match!
But yes, this snippet has a LOT of room for improvement.
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 8:40 pm
Posted on Jan 1, 2008 8:40 pm
but im saying, "bell" iswm rebellious
so if ur nick was bell, you'd have power ;)
so if ur nick was bell, you'd have power ;)
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 8:43 pm
Posted on Jan 1, 2008 8:43 pm
Well, try it out. /testnick bell and see what you get. ;)
mIRC Snippet:
Bot dictionary
Posted on Jan 1, 2008 9:28 pm
Posted on Jan 1, 2008 9:28 pm
oh wait, i think im wrong
(im on my wii so i cant do the alias)
but i think the nick would have to be *bell* , which i dont thin, u can do :P
(im on my wii so i cant do the alias)
but i think the nick would have to be *bell* , which i dont thin, u can do :P
mIRC Snippet:
Bot dictionary
Posted on Aug 13, 2009 1:01 am
Posted on Aug 13, 2009 1:01 am
wtf just do variables if ( $nick == %owner ) { no need for the iswm :X and good script!







