Guest User

kicker

a guest
Feb 24th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 1.50 KB | None | 0 0
  1. bind pub - "-k" kicker
  2. proc kicker { nick host hand chan txt } {
  3. if {$txt!="" && isop[$nick]} {
  4.     puthelp "Kick $chan $txt"
  5. }
  6. }
  7.  
  8. bind pub - "-kb" kber
  9. proc kber { nick host hand chan txt } {
  10. if {$txt!="" && isop[$nick]} {
  11.     puthelp "Mode +b "
  12.     puthelp "Kick $txt"
  13. }
  14. }
  15.  
  16. bind pub - "-bt" bter
  17. proc bter { nick host hand chan txt } {
  18. if {$txt!="" && isop[$nick]} {
  19.     puthelp "Mode +b $txt"
  20. }
  21. }
  22.  
  23. bind pub - "-bn" bner
  24. proc bner { nick host hand chan txt } {
  25. if {$txt!="" && isop[$nick]} {
  26.     puthelp "Mode +b $txt!*@*"
  27. }
  28. }
  29.  
  30. bind pub - "-bi" bier
  31. proc bier { nick host hand chan txt } {
  32. if {$txt!="" && isop[$nick]} {
  33.    $gch set ""
  34.    $tpvar set ""
  35.    $mask set ""
  36.    $gch set getchanhost $txt
  37.    $tpvar set split $gch "@"
  38.    $nident set lindex $tpvar 0
  39.     puthelp "Mode +b *!$nident@*"
  40. }
  41. }
  42.  
  43. bind pub - "-bh" bher
  44. proc bher { nick host hand chan txt } {
  45. if {$txt!="" && isop[$nick]} {
  46.    $gch set ""
  47.    $tpvar set ""
  48.    $mask set ""
  49.    $gch set getchanhost $txt
  50.    $tpvar set split $gch "@"
  51.    $mask set lindex $tpvar 1
  52.     puthelp "Mode +b *!*@$mask"
  53. }
  54. }
  55.  
  56. bind pub - "-ba" baer
  57. proc bter { nick host hand chan txt } {
  58. if {$txt!="" && isop[$nick]} {
  59.     puthelp "Mode +b $txt!*@*"
  60.    $gch set ""
  61.    $tpvar set ""
  62.    $mask set ""
  63.    $gch set getchanhost $txt
  64.    $tpvar set split $gch "@"
  65.    $mask set lindex $tpvar 1
  66.    $nident set lindex $tpvar 0
  67.     puthelp "Mode +b *!$nident@*"
  68.     puthelp "Mode +b *!*@$mask"
  69. }
  70. }
  71.  
  72. putlog "Kicker by My1 set."
  73.  
  74. # ><((((º>)
Advertisement
Add Comment
Please, Sign In to add comment