home *** CD-ROM | disk | FTP | other *** search
/ PC-X 1997 October / pcx14_9710.iso / shutils / internet / irc / script / bw10b1.exe / chane1.ini < prev    next >
Encoding:
INI File  |  1997-08-04  |  4.2 KB  |  79 lines

  1. [script]
  2. n0=on 2:text:.kick*:#:{
  3. n1=  if ($readini login.ini login $address($nick,2) == yes) {
  4. n2=    if ($2 == me) {
  5. n3=      kick $chan $nick If you say so... | halt 
  6. n4=    }
  7. n5=    if ($2 == $nick) {
  8. n6=      kick $chan $nick If you say so... | halt
  9. n7=    }
  10. n8=    if ($level($address($2,3)) >= $level($address($nick,3))) {
  11. n9=      notice $nick You cannot kick someone with the same, or higher access than you. | halt
  12. n10=    }
  13. n11=    else {
  14. n12=      kick $chan $2 ( $+ $nick $+ ) | halt
  15. n13=    }
  16. n14=  }
  17. n15=  else {
  18. n16=    notice $nick you did not login | halt
  19. n17=  }
  20. n18=}
  21. n19=on 2:text:.permaban*:#:{
  22. n20=  if ($readini login.ini login $address($nick,2) == yes) {
  23. n21=    if ($level($address($2,3)) >= $level($address($nick,3))) {
  24. n22=      notice $nick You cannot smoke someone with the same, or higher access than you. | halt
  25. n23=    }
  26. n24=    else {
  27. n25=      guser shitlist $2 3 | ban $chan $2 3 | kick $chan $2 Shitlisted >>>Perma-Ban<<< (courtesy of $nick)
  28. n26=    }
  29. n27=  }
  30. n28=  else {
  31. n29=    notice $nick you did not login | halt
  32. n30=  }
  33. n31=}
  34. n32=on 2:text:.smoke*:#:{
  35. n33=  if ($readini login.ini login $address($nick,2) == yes) {
  36. n34=    if ($level($address($2,3)) >= $level($address($nick,3))) {
  37. n35=      notice $nick You cannot smoke someone with the same, or higher access than you. | halt
  38. n36=    }
  39. n37=    else {
  40. n38=      ban -u1000 $chan $2 2 | kick $chan $2 $me kicks $2 $+ 's ass outta the channel (courtesy of $nick)
  41. n39=    }
  42. n40=  }
  43. n41=  else {
  44. n42=    notice $nick you did not login | halt
  45. n43=  }
  46. n44=}
  47. n45=on 2:text:.newpass*:?:{ notice $nick New Password set for $address($nick,3) : $2 $+ ; write that down. | notice $nick then you must login whenever you reconnect, /msg $me .login <your pass> | writeini login.ini passwords $address($nick,3) $2 }
  48. n46=on 2:text:.login*:?:{
  49. n47=  set %nickpass $readini login.ini passwords $address($nick,3)
  50. n48=  if ($2 == %nickpass) {
  51. n49=    writeini login.ini login $address($nick,2) yes
  52. n50=    notice $nick AUTHENTICATION SUCCESSFUL! Type .op to get OP'ed
  53. n51=  } 
  54. n52=  else { 
  55. n53=    notice $nick AUTHENTICATION FAILED!
  56. n54=  }
  57. n55=}
  58. n56=on 2:text:.topic*:#:if ($readini login.ini login $address($nick,2) == yes) { /topic $chan $2- } | else { notice $nick you didn't login }
  59. n57=on 2:text:.voice:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan +v $nick } | else { notice $nick you did not login }
  60. n58=on 2:text:.voice*:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan +v $2 } | else { notice $nick you did not login }
  61. n59=on 2:text:.op:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan +o $nick } | else { notice $nick you did not login }
  62. n60=on 2:text:.op*:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan +o $2 } | else { notice $nick you did not login }
  63. n61=on 2:text:.deop:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan -o $nick } | else { notice $nick you did not login }
  64. n62=on 2:text:.deop*:#:if ($readini login.ini login $address($nick,2) == yes) { /mode $chan -o $2 } | else { notice $nick you did not login }
  65. n63=raw 315:halt
  66. n64=raw 352:halt
  67. n65=on 1:text:.lag:#:ctcp $nick ping
  68. n66=on 1:text:.lag*:#:ctcp $2 ping
  69. n67=on 1:CTCPREPLY:ping*:%pt = $ctime - $2 | msg #baseball $nick $+ ; your Lag time to me : $duration(%pt) | unset %pt
  70. n68=on 2:text:.whois*:#:if ($2 isin XW) { notice $nick i am not doing a whois on $2 =) | halt } | whois $2 | set %whois yes | set %nick $nick
  71. n69=raw 311:*:if (%whois == yes) { notice %nick Whois $2 | notice %nick Address : $2 $+ ! $+ $3 $+ @ $+ $4 | notice %nick Real name : $6- | halt }
  72. n70=raw 312:*:if (%whois == yes) { notice %nick Server : $3 | halt }
  73. n71=raw 313:*:if (%whois == yes) { notice %nick Is an IRCop | halt }
  74. n72=raw 317:*:if (%whois == yes) { notice %nick Idle : $duration($3) | notice %nick Login : $asctime($4) | halt }
  75. n73=raw 319:*:if (%whois == yes) { notice %nick Channels : $3- | halt }
  76. n74=raw 318:*:if (%whois == yes) { notice %nick End Whois : $2 | unset %whois %nick }
  77. n75=raw 401:*:if (%whois == yes) { notice %nick $2 : no such nick/channel | halt }
  78. n76=on +shitlist:JOIN:kick $chan $nick Shitlisted >>>Perma-Ban<<< | ban $chan $nick 3
  79.