Top

Operserv Bot


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  1.0 (of 1 scores)
Date Added  Oct 17, 2007
Last Updated  Jan 17, 2009

Introduction

This is just a simple Operserv command bot to enable it just connect to a server this is my first snippet on here so please don't laugh thanks ;)

No Setup Required.

Changes:

1.Use commands in PM, Channel And Notices (Instead of just Channel)
2.Kline and Kill work.

Grab the Code

Operserv Bot - By ░Tippy░
░Do Not Rip░
 
on *:TEXT:*:*: {
 
  if ($1- == !Commands) { msg $nick My commands are...!Oper,!Admin,!Operserv,!Kill,!Kick,!Kline,!Help !Command. }
 elseif ($1- == !Help Oper) { msg $nick !Oper will set you as oper but you will have to be a admin. }
 elseif ($1- == !Help Admin) { msg $nick !Admin will set you as Administrator but you will need to be a Admin. }
 elseif ($1- == !Help Operserv) { msg $nick !Operserv will tell you all about me. }
 elseif ($1- == !Help Kill) { msg $chan !Kill will make me Kill Anyone you want as long as your Staff on Chat. } 
 elseif ($1- == !Help Kline) { msg $chan !Kline will Kline you. }
    halt 
   }
on *:Join:#: {
 
  if ($me isop $chan) { msg $chan I am a Operserv bot named $me say !Commands for my commands. }
   halt
  }
on *:TEXT:*:#: {
 
  if ($1 == !Oper) && ($nick isadmin $server) && ($me isadmin $server)  /set $nick +oper 
  elseif ($1 == !Admin) && ($me isadmin $server) && ($nick Isadmin $server) /set $nick +admin
  elseif ($1 == !Operserv) /msg $nick 4,1 I am $me and I am using $version of mIRC.
 
on *:text:*:#:{
  if ($me isadmin $server && $nick isadmin $server) {
    if ($1 == !kline*) { kline $2- You are klined because $nick told me to kline you }
    if ($1 == !kill*) { Kill $2- You are killed because $nick told me to kill you  }
  }
}

Comments

  (11)  RSS
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Oct 17, 2007 4:42 pm
Well feel free to comment if you have any questions or suggestions or something I should fix please leave a comment :)

Thanks,

░Tippy░
mountaindew
Comments: 1,826
 
mIRC Snippet:  Operserv Bot
Posted on Oct 17, 2007 4:58 pm
i have a couple comments

u can use on @*: rather than $me isop $chan

rather than saying if $1 == !help !kill, or !help !operserv, u can just do
Code:

on @:text:*:#:{
  if ($1 == !help) {
    if ($2 == !kill) msg $chan kill help
    if ($2 == !operserv) msg $chan operserv help
  }
  if ($1 == !commands) msg $chan the commands
}

also, u can do
Code:

on *:text:*:#:{
  if ($me isadmin $server && #nick isadmin $server) {
    if ($1 == !kline) kline whatever
    if ($1 == !kill) kill whatever
  }
}

its not critical, i imagine it works the way you have it now, but i havent tested it
DarkDaemon
Comments: 49
 
mIRC Snippet:  Operserv Bot
Posted on Oct 17, 2007 9:51 pm
Hey man nice job its pretty cool but it ptobably needs a little more work...If you are wondering I am sky anderson famous a newbie too Lol :P
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Oct 19, 2007 2:39 pm
Thanks guys I will edit it later ( I am a tadbit busy. ) Thanks for the tip though I like to learn so i will be sure to learn more I will be posting another Snippet soon.
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Oct 19, 2007 2:44 pm
It is now offically updated so please take a look and try it out :)
cantseeme
Comments: 47
 
mIRC Snippet:  Operserv Bot
Posted on Oct 19, 2007 4:07 pm
I really dont see how this is helpful at all...

Seriously, why would I want to kline or kill myself, and besides if you are running that bot and kline urself it will kline both clients. rite?
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Oct 20, 2007 8:16 am
Okay cantseeme your complaint has been taken care of :) If you find anymore bugs please notify me I like to be positive it works :)

Regards,

Tippy
[-DDC-]Darkness
Comments: 21
 
mIRC Snippet:  Operserv Bot
Posted on Oct 21, 2007 4:59 am
Dude, when I hit !Commands, my server window said what it was supposed to. But when I hit !Kline it didnt do anything. And when I did !KLine (NickName) it didnt do anything, either...What's goin on, man?
ZiX
Comments: 51
 
mIRC Snippet:  Operserv Bot
Posted on Dec 6, 2007 9:26 am
Well done Tippy but the code could be shorter.
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Jan 17, 2009 7:47 pm
I will look at the coding further now that I have alot more knowledge, thanks.
Tippy
Comments: 33
 
mIRC Snippet:  Operserv Bot
Posted on Jan 17, 2009 8:00 pm
Fixed :)

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom