Top

IRC Bot v2.0 ( Clean )


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  2.0
Scores Submitted  2
Date Added  Jun 04, 2008
Last Updated  Jun 07, 2008
Tags  bot  ext  irc  ircop  modes 
  Bookmark and Share

Introduction

Hope You Like This Bot!! Just Set Yourself As Owner In Bot In Users!
I Fixed Barckets. ( Eugenio Did At Least )

Grab the Code

Comments

  (13)  RSS
napa182
Comments: 1,003
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 4, 2008 11:32 pm
you can reduce most of the code for the user modes
Code:
if ($regex($strip($1),/^[+-][qaovh]$/)) { mode $chan $1 $iif(!$2,$nick,$2) }


check out the help file for $regex and $iif
AdrianF
Comments: 36
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 4:11 am
Thanks Everyone For Your Comments!! I Deleted Them All For This Version.
What You Think Now??? Eugenio Fixed Brackets For Me!!!!
Noutrious
Comments: 343
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 1:19 pm
I think you should stop those \"???\" and \"!!!!!\", you should remove swearings and check for example if $2 is specified, is it on $chan, is it even owner etc.
AdrianF
Comments: 36
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 1:24 pm
huh? i am new to scripting.
Eugenio
Comments: 926
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 4:54 pm
I agree with the \"!!!!\" and the \"???\" and definetly remove all swearing.
You know where to come for help with what Noutrious said, I agree with him but its too long to explain here.
jonesy44
Comments: 920
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 5:03 pm
Code:

if ($2) {
  execute code..
}
Eugenio
Comments: 926
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 6, 2008 5:22 pm
lawl I didnt just mean the code, but yeah ........
AdrianF
Comments: 36
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 7, 2008 6:08 pm
Jonsey
what u talken bout?
AdrianF
Comments: 36
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 7, 2008 6:47 pm
k. i took out cussing
Manit
Comments: 4
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 13, 2008 12:32 am
what is the commands for adding owner?
EL
Comments: 1,227
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 13, 2008 3:43 am
@Manit, umm to set original owner before you can do anything u need to open your mIRc user list and type Owner:then your current nickname (NOT the bot\'s nickname) then clsoe is after that you can add owners an stuff and run the bot useing +q nickname to add more owners to access the bots commands he SHOULD add it on load or have a alias for it ideally.`-.-ยด
AdrianF
Comments: 36
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 13, 2008 6:52 am
i will add it in on load. ty for asken. and ty for usen it. you may edit it to ur needs! lol
jonesy44
Comments: 920
 
mIRC Snippet:  IRC Bot v2.0 ( Clean )
Posted on Jun 17, 2008 3:18 pm
Code:
on *:TEXT:*:#: {
  if ($regex($mid($1-,1,2),[+-][ov])) {
    mode $chan $mid($1-,1,1) $+ $remove($str($mid($1-,2,2),$calc($0 - 1)),$chr(32)) $2-
  }
}


Yaaay, my first go att regex !

Please Register or Login to start posting comments.
Bottom