Top

Channel Control Bot

Please Register to submit score.
Average Score  5.3
Scores Submitted  3
Date Added  Oct 24, 2007
Last Updated  Nov 14, 2007
Tags  admin  bot  channel  control  easy  hop  mode  op  voice 

Introduction

.:Channel-Control-Bot:.

.:Copy into Remotes of bot:.

.:Type "!+ m" without quotes with your bot:.

.:Type "!500 <nick of bot user>" without quotes with your bot:.


This BOT will control your channel. Make sure the bot has channel powers (+o) and type any of the commands below to give access/set channel modes.


Now if people flood over 10 lines without someone else saying something, they will lose +ovh and not be able to talk for 5 minutes. Then after 5 minutes the Bot will auto +v them and unset the ban. Every nick that joins the channel will get +v.


.:Commands and uses:.

!ahop "nick" - Auto Halfops "nick" and sets them +h

!aop "nick" - Auto OP "nick" and sets them +o

!admin "nick" - Give "nick" admin powers and sets them +oa

!remove "nick" - Removes "nick" Privileges and sets them -vhoa

!+ "mode" [optional nick] - if no nick is used: sets channel mode. If nick is used: Sets nick mode

!- "mode" [optional nick] - if no nick is used: removes channel mode. If nick is used: Removes nick mode

!500 "nick" - Sets "nick" as a 500 user and gives him/her access control all below commands (note: be careful who you give this to)

!say <channel> <text> - Says Text in channel

!part <channel> - Leaves channel

!google <text> - Googles Text

!imggoogle <text> - Google Image's text

Grab the Code

Comments

  (7)  RSS
DJ_Fluid
Comments: 1
 
mIRC Snippet:  Channel Control Bot
Posted on Oct 24, 2007 10:27 pm
I helped :) gj as far as I can see.
mountaindew
Comments: 1,422
 
mIRC Snippet:  Channel Control Bot
Posted on Nov 12, 2007 9:07 pm
Code:

  elseif $1 = !+ {
    /mode $chan $2 $3-
  }
  elseif $1 = !- {
    /mode $chan - $+ $2 $3-
  }

u can simplify it to
Code:

elseif ($istok(!+ !-,$1,32)) mode $chan $left($1,2) $+ $2-

Pepsi_Man0077
Comments: 30
 
mIRC Snippet:  Channel Control Bot
Posted on Nov 12, 2007 10:59 pm
that looks more complicated to me, im new at scripting, what exactly does that do can ya tell me?
brinxy
Comments: 30
 
mIRC Snippet:  Channel Control Bot
Posted on Nov 12, 2007 11:57 pm
/help $istok works just the same... but:
$istok(!+ !-,$1,32) checks if either !+ of !- isin the first bit of syntax. The rest of the code, mode $chan $left($1,2) $+ $2- simply takes !- o|h|v etc and applies it to the mode itself. Very confusing for me to explain, miserable at explaining, but here is an example:
<brinxy`> !- o <nick> sets mode - o on whoever I specify. - Being the second to the left [$left($1,2)] & o <nick> being the $2-.

Hope that helps.
mountaindew
Comments: 1,422
 
mIRC Snippet:  Channel Control Bot
Posted on Nov 13, 2007 2:16 pm
yea, basically it checks whether $1 is !+ or !-, and then it does "mode $chan (now checks whats after !, either + or -) <+/-> $+ (joins two things) $2- ($1 $2 $3 $4 etc...)"
Pepsi_Man0077
Comments: 30
 
mIRC Snippet:  Channel Control Bot
Posted on Nov 14, 2007 8:44 pm
Awesome i get it, thanks guys. Thats pretty simple, i dont get how it works but its cool. Do you guys see anything wrong with this script? Particularly in the 500:TEXT:*:#: and the 500:TEXT:*:?: sections cause those parts stopped working on my bot recently. I know for sure im added to the users list too.
kslice917
Comments: 7
 
mIRC Snippet:  Channel Control Bot
Posted on Mar 2, 2008 3:10 am
Hehe...I don't think I'll ever use $istok

But yeah, nice for some simple stuff...and seems to work. Just a little high on the access requirements though, don't you think?

Well, just wait until I release my server bot...you'll be in trouble then ;)

Please Register or Login to start posting comments.
Bottom