mIRC Home    About    Download    Register    News    Help

Print Thread
Channel script help #266607 03/01/20 11:56 PM
Joined: Nov 2019
Posts: 18
A
An0o Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Nov 2019
Posts: 18
This code give
voice for 23 $$1 3
and host for 24 $$1 3
and owner for 25 $$1 3
But dose not unbanned $$1 3 (23,24,25)
Code
menu nicklist {
  •Auto List
  .Levels:auto
  .Auto op
  ..add:guser 25 $$1 3
  ..del:ruser 25 $$1 3
  .Auto hop
  ..add:guser 24 $$1 3
  ..del:ruser 24 $$1 3
  .auto voice
  ..Add:guser 23 $$1 3
  ..Del:ruser 23 $$1 3
}
 
 
on *:JOIN:#:{
  if (an0o isop #) halt
  if ($level($address($nick,3)) == 23) { mode # +v $nick }
  if ($level($address($nick,3)) == 24) { mode # +h $nick }
  if ($level($address($nick,3)) == 25) { mode # +o $nick }
}
 
 
on +23@:JOIN:#: {
  if (an0o isop #) halt
  echo 14>>> 2 $nick Is On Your Auto v List  .
  if ($me ishop $chan) { mode $chan +v $nick
  }
}
 
on +24@:JOIN:#: {
  if (an0o isop #) halt
  echo 14>>> 2 $nick Is On Your Auto host List  .
  if ($me isop $chan) { mode $chan +h $nick
  }
}
 
on +25@:JOIN:#: {
  if (an0o isop #)  halt
  echo 14>>> 2 $nick Is On Your Auto OP List  .
  if ($me isop $chan) { mode $chan +o $nick
  }
}
 on 1:ban:#:{
  if ($address($nick,2) == $address($me,2)) && ($address($nick,4) == $address($me,4)) { halt } 
  if ($nick == $bnick) { halt }
  if ($level($address($nick,3)) == $level($address($bnick,3))) { halt }
  if ($level($address($nick,3)) == 23) { halt }
  if ($level($address($bnick,3)) == 25) { 
    mode $chan -b $bnick $bnick($address($nick,1))
    mode $chan -bbb $bnick($address($bnick,2)) $bnick($address($bnick,3)) $bnick($address($bnick,4))
    mode $chan -bbb $bnick($address($bnick,5)) $bnick($address($bnick,6)) $bnick($address($bnick,7))
    mode $chan -bb $bnick($address($bnick,8)) $bnick($address($bnick,9))
  }
} 

 
 


I need fixed it. If 23 or 24 or 25 banned in the channel
The code active and remove banned him

Note. My ban in my channel ban -ku900 address($nick,1)

And I want to merge this next code with it
able 23, 24 and 25 to control my op name

Code
on @25:TEXT:*:#:{
Tokenzi 32 $srtip($1-)
  if ($1 == !op) mode $chan +o $2 
  if ($1 == !deop) mode $chan -o $2 
  if ($1 == !voice) mode $chan +v $2 
  if ($1 == !devoice) mode $chan -v $2 
  if ($1 == !quiet) mode $chan +q $address($2,4)
  if ($1 == !unquiet) mode $chan -q $address($2,4)
  if ($1 == !kick) kick $chan $2- 
  if ($1 == !kill) kill $2 Kill Command used by $nick
  if ($1 == !akill) akill $2 aKill Command used by $nick
  if ($1 == !kline) kline $address($2,4) Kline Command used by $nick
  if ($1 == !ban) mode $chan +b $address($2,4) 
  if ($1 == !owner) { auser owner $2 | msg $chan 14Added $2 as Bot Owner }
  if ($1 == !delowner) { ruser owner $2 | msg $chan 14Deleted $2 as Bot Owner }
  if ($1 == !master) { auser master $2 | msg $chan 14Added $2 as Bot Master }
  if ($1 == !delmaster) { ruser master $2 | msg $chan 14Deleted $2 as Bot Master }
  if ($1 == !user) { auser user $2 | msg $chan 14Added $2 as Bot User }
  if ($1 == !deluser) { ruser user $2 | msg $chan 14Deleted $2 as Bot User }
  if ($1 == !shit) { auser shit $2 | msg $chan 14Added $2 to the Shitlist by $nick | kick $chan $2 Shitlisted by $nick }
  if ($1 == !delshit) { ruser shit $2 | msg $chan 14Deleted $2 From Shitlist by $nick }
  if ($1 == !join) /join #$2 
  if ($1 == !part) /part #$2 Part Command used by $nick
  else { halt }
}
)


Note.. $1 in code master = $$1 3 in first code


Please complete the missing in the codes and merge the two codes together to work
Sorry for the prolongation

Re: Channel script help [Re: An0o] #266614 04/01/20 07:36 PM
Joined: Nov 2019
Posts: 18
A
An0o Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Nov 2019
Posts: 18
Originally Posted by An0o
This code give
voice for 23 $$1 3
and host for 24 $$1 3
and owner for 25 $$1 3
But dose not unbanned $$1 3 (23,24,25)
Code
menu nicklist {
  •Auto List
  .Levels:auto
  .Auto op
  ..add:guser 25 $$1 3
  ..del:ruser 25 $$1 3
  .Auto hop
  ..add:guser 24 $$1 3
  ..del:ruser 24 $$1 3
  .auto voice
  ..Add:guser 23 $$1 3
  ..Del:ruser 23 $$1 3
}
 
 
on *:JOIN:#:{
  if (an0o isop #) halt
  if ($level($address($nick,3)) == 23) { mode # +v $nick }
  if ($level($address($nick,3)) == 24) { mode # +h $nick }
  if ($level($address($nick,3)) == 25) { mode # +o $nick }
}
 
 
on +23@:JOIN:#: {
  if (an0o isop #) halt
  echo 14>>> 2 $nick Is On Your Auto v List  .
  if ($me ishop $chan) { mode $chan +v $nick
  }
}
 
on +24@:JOIN:#: {
  if (an0o isop #) halt
  echo 14>>> 2 $nick Is On Your Auto host List  .
  if ($me isop $chan) { mode $chan +h $nick
  }
}
 
on +25@:JOIN:#: {
  if (an0o isop #)  halt
  echo 14>>> 2 $nick Is On Your Auto OP List  .
  if ($me isop $chan) { mode $chan +o $nick
  }
}
 on 1:ban:#:{
  if ($address($nick,2) == $address($me,2)) && ($address($nick,4) == $address($me,4)) { halt } 
  if ($nick == $bnick) { halt }
  if ($level($address($nick,3)) == $level($address($bnick,3))) { halt }
  if ($level($address($nick,3)) == 23) { halt }
  if ($level($address($bnick,3)) == 25) { 
    mode $chan -b $bnick $bnick($address($nick,1))
    mode $chan -bbb $bnick($address($bnick,2)) $bnick($address($bnick,3)) $bnick($address($bnick,4))
    mode $chan -bbb $bnick($address($bnick,5)) $bnick($address($bnick,6)) $bnick($address($bnick,7))
    mode $chan -bb $bnick($address($bnick,8)) $bnick($address($bnick,9))
  }
} 

 
 


I need fixed it. If 23 or 24 or 25 banned in the channel
The code active and remove banned him

Note. My ban in my channel ban -ku900 address($nick,1)



fixed ban :s