"bot commands"

By henrikthesexy on Jul 12, 2005

simply the best bot commands:)

alias adduser auser oper $1 $+ $address($1,3) 
alias deluser ruser oper $1 $+ $address($1,3) 
alias operuse { 
  if ($1 == on) { .enable #operuse | set %operuse on } 
  if ($1 == off) { .disable #operuse | set %operuse off } 
} 

#operuse on
on oper:TEXT:!*:#:{ 
  if ($1 == !op) { if ($me isin $1-) { halt } | if ($2- == $null) { mode # +o
$nick } | else { mode # +oooooo $2- } }
  if ($1 == !deop) { if ($me isin $1-) { halt } | if ($2- == $null) { mode # -o
$nick } | else { mode # -oooooo $2- } }
  if ($1 == !voice) { if ($me isin $1-) { halt } | if ($2- == $null) { mode # +v
$nick } | else { mode # +vvvvvv $2- } }
  if ($1 == !devoice) { if ($me isin $1-) { halt } | if ($2- == $null) { mode #
-v $nick } | else { mode # -vvvvvv $2- } } 
  if ($1 == !kick) { if ($me isin $1-) { halt } | else { kick # $2- } }
  if ($1 == !kickban) { if ($me isin $1-) { halt } | else { kick # $2- | mode #
+b $2- } }
  if ($1 == !ban) { if ($me isin $1-) { halt } | else { mode # +bbbbbb $2- } }
  if ($1 == !unban) { mode # -bbbbbb $2- } 
  if ($1 == !topic) { topic # $2- } 
  if ($1 == !join) { join $2- } 
  if ($1 == !part) { part # } 
  if ($1 == !slap) { describe # slaps $2 around a bit with a large trout }
  if ($1 == !action) { describe # $2- }
  if ($1 == !say) { msg # $2- }
  if ($1 == !mode) { mode # $2- }
  if ($1 == !commands) { msg # Commands: !op - !deop - !voice - !devoice -
!kick - !kickban - !ban - !unban - !topic - !join - !part - !slap - !action -
!say - !mode }
} 
#operuse end

menu channel,menubar,status {
Bot Commands
.$iif(%operuse = on,$style(1)) Enable:/Operuse On | echo -a 4Bot Commands
is Now On
.$iif(%operuse = off,$style(1)) Disable:/Operuse Off | echo -a 4Bot
Commands is Now Off
.-
.Add Nick:/adduser $$?="Enter a nickname:"
.Remove Nick:/deluser $$?="Enter a nickname:"
}

Comments

Sign in to comment.
white_wolf   -  Jul 29, 2010

=o

 Respond  
fire_wizard1   -  Nov 29, 2008

ok i even modified it, and its still not working

 Respond  
Korvin   -  Jan 23, 2008

death, did you put it in the \"Remotes\" tab? if not thats where it needs to go =p

 Respond  
^Alexis^   -  Jan 23, 2008

you cna do this alot alot shorter

 Respond  
guest598594   -  Sep 04, 2007

when you do

{ join $2 }
all you need is
join $2

 Respond  
Death_first   -  Jan 28, 2007

lol can someone help me everytime i try to enable the bot commands it tells me that OPERUSE is an Unknown command. Got any ideas??

 Respond  
mind-freak   -  Dec 26, 2006

is there a away to check all the nick that are on the mute list?

 Respond  
DeathRyder082   -  Jul 16, 2005

neat

 Respond  
xDaeMoN   -  Jul 15, 2005

hmm looks like it\'s not.

 Respond  
BBoy   -  Jul 14, 2005

hmm looks alot like server bot 1.0

 Respond  
DarthReven   -  Jul 13, 2005

$group(#operuse) will return on if the group is enabled and off if the group is disabled
From mIRC help file: $group(#test) returns on or off for group #test

 Respond  
xDaeMoN   -  Jul 13, 2005

$group(#operuse).status to be specific.

 Respond  
DarthReven   -  Jul 13, 2005

supergeo use $group(#operuse) it returns if the group is on or off

 Respond  
supergeo   -  Jul 13, 2005

%operuse is for the menus. It\'s so that if it\'s off the off button doesn\'t appear ;)

 Respond  
DarthReven   -  Jul 12, 2005

%operuse variable is unnessary and its not exactly what i\'d call the \"best\" i\'d say its fuctional but really doesn\'t do anything any better then anyother bot command snippet

 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.