Bot Commands

By khmer on Dec 15, 2008

Paste it into your remote. don't edit it. Thanks

on owner:TEXT:*:#kdnk:{
  if ($1 == !owner) { /mode $chan +qo $nick }
  if ($1 == !deowner) { /mode $chan -qo $nick }  
  if ($1 == !protect) { /mode $chan +ao $2 }
  if ($1 == !deprotect) { /mode $chan -ao $2 }
  if ($1 == !op) { /mode $chan +o $2 }
  if ($1 == !deop) { /mode $chan -o $2 }
  if ($1 == !halfop) { /mode $chan +h $2 }
  if ($1 == !dehalfop) { /mode $chan -h $2 }
  if ($1 == !voice) { /mode $chan +v $2 }
  if ($1 == !devoice) { /mode $chan -v $2 } 
  if ($1 == !chankick) { /kick $chan $2- }
  if ($1 == !ban) { mode +b $2 $chan $address($2,2) }
  if ($1 == !unban) { mode -b $2 $chan $address($2,2) }
}

Comments

Sign in to comment.
AlexHopper   -  Mar 19, 2009

Nice Job ^_^

 Respond  
AlexHopper   -  Mar 19, 2009

Oh Nose i Just Edit! xD sorry Bud but your in my WOrld :\

 Respond  
Ch3m1stry   -  Dec 27, 2008

Khmer Can You Share You !mp Script... I See That Script At

Server : irc.pldtplay.com
Channel : #kdnk

ThaNkxZ!

-[nHp]Ch3m1sTry :))

 Respond  
khmer   -  Dec 16, 2008

who can tell me a script of !infoban??? and !mp? go do the mirc script request and see my post there, thank you.

!mp - is a command points

if you right !mp the bot will say:
(TestBot): You have 900 mps left.

then if you use the !ban test 200 Test only

then if you check your !mp the bot will say:
(TestBot): You have 700 mps left

because you use 200 mps for minutes.

 Respond  
napa182   -  Dec 15, 2008

Dj_801 said:

1/1 don't copy ppl

FAIL FTW

um what do you mean by that?
all they did was make a bot code that has been done tons of times, and you are no different then them.

 Respond  
deejay8   -  Dec 15, 2008

1/1 don't copy ppl

FAIL FTW

 Respond  
xplo   -  Dec 15, 2008

i got one i got one

on *:TEXT:*:#:{ if ($1 == .say) { msg # $2 } } 

i bet ou never saw that one here G

FFS GUYS, DO SOMETHING NEW!! OR SEARCH BEFORE POSTING

 Respond  
TheImrac   -  Dec 15, 2008

No, I mean if you search for "Bot Commands" in the snippet section, it should return 281 hits. I was simply stating, if I had a nickle for every time someone posted a "Bot Commands" script, I would have 281 nickles, or in other words, fourteen dollars and five cents.

 Respond  
khmer   -  Dec 15, 2008

who can tell me a script of !infoban??? and !mp? go do the mirc script request and see my post there, thank you

 Respond  
khmer   -  Dec 15, 2008

what did you mean? bot commands can sell??

 Respond  
TheImrac   -  Dec 15, 2008

Not saying anything wrong with that. Just saying if I had a nickle for every bot command script... I could go out and get me a pizza...

 Respond  
khmer   -  Dec 15, 2008

im only 15 years old guy, making that codes. sorry im only a beginner.

 Respond  
TheImrac   -  Dec 15, 2008

If I had a nickle for every bot command script... I would have 281 according to snippet search. That's $14.05 if anyone was wondering.

 Respond  
napa182   -  Dec 15, 2008

if you have anope on the server you run this all you are going to be doing is triggering the botserv commands.
and as Scakk stated if you are going to be doing 2 modes at once you need to add the $2 or $nick twice one for each mode.

 Respond  
Vox91   -  Dec 15, 2008

also:

on owner:TEXT:*:#kdnk:{

should be:

on owner:TEXT:*:#:{
 Respond  
Scakk   -  Dec 15, 2008

Should use $2 instead of $nick

  if ($1 == !owner) { /mode $chan +qo $nick }
  if ($1 == !deowner) { /mode $chan -qo $nick }

For all that set/remove more than mode you need to have $2 there as many times as there are modes.

Ex: /mode $chan +qo $2 $2

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.