!^Bot commands/ access levels^! version1

By SlAva on Apr 15, 2005

very easy script to setup all you need to do is copy and paste it in remotes. you really dont need to edit any thing!=] Bot admin commands- !owner !deowner !protect !deprotect !voice !devoice !halfop !dehalfop !protect !deprotect !op !deop OP commands - !op !deop !halfop !dehalfop !voice !devoice Halfop commands- !halfop !dehalfop !voice !devoice. ill will be updating weekly. i have tested this and its works great have fun!!!

alias AddAccess2000 {
  /guser 2000 $$1
}
alias DelAccess2000 {
  /ruser 2000 $$1 $+ !
}
alias AddAccess1500 {
  /guser 1500 $$1
}
alias DelAccess1500 {
  /ruser 1500 $$1 $+ !
}
alias AddAccess1000 {
  /guser 1000 $$1
}
alias DelAccess1000 {
  /ruser 1000 $$1 $+ !
}
alias AddAccess500 {
  /guser 500 $$1 
}
alias DelAccess500 {
  /ruser 500 $$1 $+ !
}
menu nicklist {
  .AddAccess20:/addaccess2000 $$1 | /notice $$1 You are access to the me. (Admin)
  .DelAccess20:/delaccess2000 $$1
  .AddAccess15:/addaccess1500 $$1 | /notice $$1 You are access to the me. (OP/protect commands)
  .DelAccess15:/delaccess1500 $$1
  .AddAccess10:/addaccess1000 $$1 | /notice $$1 You are access to the me. (OP)
  .DelAccess10:/delaccess1000 $$1
  .AddAccess5:/addaccess500 $$1 | /notice $$1 You are access to the me(Halfop)
  .DelAccess5:/delaccess500 $$1
}
#botmode on
on *:text:`help*:*:{ notice $nick these are your commands - i pwn you }
on 2000:text:!owner*:*:{
  if ($2 = $null) { 
    mode # +q $nick
  }
  else { mode # +q $2 }
}
on 2000:text:!deowner*:*:{
  if ($2 = $null) { 
    mode # -q $nick
  }
  else { mode # -q $2 }
}
on 1500:text:!protect*:*:{
  if ($2 = $null) {
    mode # +a $nick
  }
  else { mode # +a $2 }
}
on 1500:text:!deprotect*:*:{
  if ($2 = $null) {
    mode # -a $nick
  }
  else { mode # -a $2 }
}
on 1000:text:!op*:*:{
  if ($2 = $null) {
    mode # +o $nick
  }
  else { mode # +o $2 }
}
on 1000:text:!deop*:*:{
  if ($2 = $null) {
    mode # -o $nick
  }
  else { mode # -o $2 }
}
on 1000:text:!halfop*:*:{
  if ($2 = $null) {
    mode # +h $nick
  }
  else { mode # +h $2 }
}
on 1000:text:!dehalfop*:*:{
  if ($2 = $null) {
    mode # -h $nick
  }
  else { mode # -h $2 }
}
on 1000:text:!voice*:*:{
  if ($2 = $null) {
    mode # +v $nick
  }
  else { mode # +v $2 }
}
on 1000:text:!devoice*:*:{
  if ($2 = $null) {
    mode # -v $nick
  }
  else { mode # -v $2 }
}
on 1000:text:!kick*:*:{
  if ($2 = $null) {
    kick # $nick Requested by $nick
  }
  else { kick # $2 Requested by $nick Reason: $3- }
}
on 1000:text:!kban*:*:{
  if ($2 = $null) {
    ban # $nick 2 | kick # $nick Requested by $nick
  }
  else { ban # $nick 2 | kick # $2 Requested by $nick Reason: $3- }
}
on 1000:text:!ban*:*:{
  if ($2 = $null) {
    ban # $nick 2
  }
  else { ban # $nick 2 }
}
on 500:text:!halfop*:*:{
  if ($2 = $null) {
    mode # +h $nick
  }

on 500:text:!dehalfop*:*:{
  if ($2 = $null) {
    mode # -h $nick
  }
on 500:text:!voice*:*:{
  if ($2 = $null) {
    mode # +v $nick
  }
on 500:text:!devoice*:*:{
  if ($2 = $null) {
    mode # -v $nick
  }
on 500:text:!say*:*:{ msg $chan $2- }
on 500:text:!action*:*:{ describe $chan $2- }
on 2000:text:!nick*:*:{ nick $$2- }
#botmode end

Comments

Sign in to comment.
shilex   -  Jun 14, 2007

I dont get this snippet can someone explain to me how to set it up beacause i dont fucking get it

 Respond  
DarthReven   -  Apr 15, 2005

your nicklist commands didn\'t need the extra aliases you coulda just had .Add Admin Access to $1 { ruser 2000 $1 | .notice $1 you now have admin status }

 Respond  
xDaeMoN   -  Apr 15, 2005

On your text events like this \"on 2000:text:!owner::{\", you should also check if they specify a channel name because when it comes to private messages, $chan or # returns $null. If you just intend it to be used as channel commands, then it should just look like this \"on 2000:text:!owner*:#:{\"

 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.