Top

CS Auto Lists Bot Commands


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  6.0 (of 2 scores)
Date Added  Aug 22, 2008
Last Updated  Aug 23, 2008
Tags  a  aop  auto  bot  cs  h  hop  list  o  sop  v  vop 

Introduction

This code is used to add people to the cs auto lists (vop, hop, aop, sop) with a simple command instead of doing the long /cs AOP blahblahblah

THIS SCRIPT IS MADE FOR DREAMBOT 5.4 wich can be found at http://www.team-clanx.org/get.php?check=3&id=49

Commands: !vopadd <nick>, !remvop <nick>, !hopadd <nick>, !remhop <nick>, !aopadd <nick>, !remaop <nick>, !sopadd <nick>, !remsop <nick>

v1.1: Removed the unneeded wildcard, made it notice the one that gets added/removed instead of sending the message to the channel.

Grab the Code

;@@@ Script by: Christoffer G. Thomsen
;@@@ Made for DreamBot v5.4
;@@@ Please do not take credit for this script
;@@@ v1.1
 
on 400:TEXT:!aopadd*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !aopadd <nickname>
}
else {
  ChanServ AOP $chan ADD $2
  mode # +o $2
  notice $2 I have added you to the AOP list
}
}
on 400:TEXT:!remaop*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !remaop <nickname>
}
else {
  ChanServ AOP $chan DEL $2
  mode # -o $2
  notice $2 I have removed you from the AOP list
}
}
 
on 100:TEXT:!hopadd*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !hopadd <nickname>
}
else {
  ChanServ HOP $chan ADD $2
  mode # +h $2
  notice $2 I have added you to the HOP list
}
}
on 100:TEXT:!remhop*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !remhop <nickname>
}
else {
  ChanServ HOP $chan DEL $2
  mode # -h $2
  notice $2 I have removed you from the HOP list
}
}
 
on 100:TEXT:!vopadd*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !vopadd <nickname>
}
else {
  ChanServ VOP $chan ADD $2
  mode # +v $2
  notice $2 I have added you to the VOP list
}
}
 
on 100:TEXT:!remvop*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !remvop <nickname>
}
else {
  ChanServ VOP $chan DEL $2
  mode # -v $2
  notice $2 I have removed you from the VOP list
}
}
 
on 400:TEXT:!sopadd*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !sopadd <nickname>
}
else {
  ChanServ SOP $chan ADD $2
  mode # +a $2
  notice $2 I have added you to the SOP list
}
}
 
on 400:TEXT:!remsop*:#: {
if ( $2 == $null ) {
notice $nick Syntax: !remsop <nickname>
}
else {
  ChanServ SOP $chan DEL $2
  mode # -a $2
  notice $2 I have removed you from the SOP list
}
}

Comments

  (7)  RSS
Cheiron
Comments: 627
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 10:47 am
looks clean enough.. might want to back the trigger commands shorter though heh.. !hoppadd to !hadd or something shorter.. just to save the weary fingers and stuff..

only other stuff as a positive comment here... maybe instead of messaging the whole channel that you have added/removed a user, change it to echo -a so only you can see it, it the bot is on your pc that is....

will have a better look laters :) gets an initial 5
Paul_1337noob
Comments: 81
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 3:35 pm
works from what ive seen,
as for the msg $chan you could have it notice the the user who was adding/removing and the person who was been added/removed.

gj Chris

any reason for using on 100:TEXT:!*....*: ?
Cheiron
Comments: 627
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 4:22 pm
the on 100 looks like he is using ACCESS over chanserv. rather than 0, 1, 3, 4, 5, 9, founder... he has gone for the big numbers. same thing basically paul
Paul_1337noob
Comments: 81
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 4:25 pm
i see were your coming from but what i meant was the wildcard eg !*vopadd*

!vopadd* should be fine right
Cheiron
Comments: 627
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 4:43 pm
ah yeah.. i see your point.. lemme check one my snippets a sec

on *:TEXT:!setup:*: {

yeah.. you got it right there paul... now that makes it curious now as to why he done it the way he has..
AlienDK
Comments: 34
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 22, 2008 6:57 pm
Originally I made this script when I was a newb. And I saw a script made by someone else where he used on *:TEXT:!*command*:#: {. And then I just forgot to update it after I found how to do it in a smarter way :P
Cheiron
Comments: 627
 
mIRC Snippet:  CS Auto Lists Bot Commands
Posted on Aug 24, 2008 7:09 am
gotcha. thanks for the edit there though

Commenting Options

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

  
Bottom