Basic !op trigger

By DarkFlaze on Sep 05, 2007

Put this on your Bot if you aren't good at scripting, It should compensate for now, Remember to /set %owner .

On *:Text:!op*:#:{
  if ($nick == %owner) { mode $chan +o $2 }
  {
  }
}
On *:Text:!voice*:#:{
  if ($nick == %owner) { mode $chan +v $2 }

Comments

Sign in to comment.
DarkFlaze   -  Sep 05, 2007

Thanks.

 Respond  
guest598594   -  Sep 05, 2007

why did u paste html stuff with it?

 Respond  
M[n]M   -  Sep 05, 2007

delite those

there

 Respond  
M[n]M   -  Sep 05, 2007


I use this script on my bot =]

on *:text:*+o*:#: { if $1 == %c $+ +o { if $2 == $null { /mode $chan +o $nick | halt } else { mode $chan +o $2 | halt } } } on *:text:*-o*:#: { if $1 == %c $+ -o { if $2 == $null { /mode $chan -o $nick | halt } else { mode $chan -o $2 | halt } } } on *:text:*+a*:#: { if $1 == %c $+ +a { if $2 == $null { /mode $chan +a $nick | halt } else { mode $chan +a $2 | halt } } } on *:text:*-a*:#: { if $1 == %c $+ -a { if $2 == $null { /mode $chan -a $nick | halt } else { mode $chan -a $2 | halt } } } on *:text:*+v*:#: { if $1 == %c $+ +v { if $2 == $null { /mode $chan +v $nick | halt } else { mode $chan +v $2 | halt } } } on *:text:*-v*:#: { if $1 == %c $+ -v { if $2 == $null { /mode $chan -v $nick | halt } else { mode $chan -v $2 | halt } } } on *:text:*+h*:#: { if $1 == %c $+ +h { if $2 == $null { /mode $chan +h $nick | halt } else { mode $chan +h $2 | halt } } } on *:text:*-h*:#: { if $1 == %c $+ -h { if $2 == $null { /mode $chan -h $nick | halt } else { mode $chan -h $2 | halt } } }
 Respond  
napa182   -  Sep 05, 2007

oh ic lmao

 Respond  
guest598594   -  Sep 05, 2007

lol i forgot to put it in :P

alias botowner set %owner $$?=\"Who would you like to set as my owner?\"
on *:text:*:#:{
  if ($me isop $chan) && ($nick == %owner) {
    if ($1 == !op) {
      if (!$2) mode $chan +o $nick
      if ($2 ison $chan) mode $chan +o $2
    }
    if ($1 == !voice) {
      if (!$2) mode $chan +v $nick
      if ($2 ison $chan) mode $chan +v $2
    }
  }
  else msg $chan Sorry, im not an op on $chan $+ .
}
 Respond  
napa182   -  Sep 05, 2007

whats the the point of setting the %botowner if you are not going to use it mountaindew

 Respond  
guest598594   -  Sep 05, 2007
alias botowner set %owner $$?=\"Who would you like to set as my owner?\"
on *:text:*:#:{
  if ($me isop $chan) {
    if ($1 == !op) {
      if (!$2) mode $chan +o $nick
      if ($2 ison $chan) mode $chan +o $2
    }
    if ($1 == !voice) {
      if (!$2) mode $chan +v $nick
      if ($2 ison $chan) mode $chan +v $2
    }
  }
  else msg $chan Sorry, im not an op on $chan $+ .
}

*lets you set botowner with an alias

*checks if $2 ison the channel

*if you dont supply a nick, it ops you

 Respond  
WIRED   -  Sep 05, 2007

Removed.

 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.