unixwz0r

botnetinfo.tcl - for eggdrop by:CyberpunkZ

Jan 14th, 2016
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 6.21 KB | None | 0 0
  1. #####################
  2. # botnetinfo script #
  3. # by: CyberpunkZ    #
  4. #####################
  5.  
  6.  
  7. #set this to "-" if you want everyone to use the !botnetinfo command
  8.  
  9. set userflag "-"
  10.  
  11. #set this to any word you want to type if you want to see the botnet infomation
  12.  
  13. set trig "!botup"
  14. set trig2 "!sysinfo"
  15. set trig3 "!darwinup"
  16. set trig4 "!itunesnp"
  17. set trig5 "!play"
  18. set trig6 "!pause"
  19. set trig7 "!stop"
  20. set trig8 "!next"
  21. set trig9 "!prev"
  22. set trig10 "!rules"
  23. set trig11 "!chaninfo"
  24. set trig12 "!bsdbox"
  25.  
  26. #####DONT EDIT IF YOU DONT UNDERSTAND ANY OF THE STUFF BELOW######
  27.  
  28. bind PUB $userflag $trig main_func
  29. bind PUB $userflag $trig2 main_func2
  30. bind PUB $userflag $trig3 main_func3
  31. bind PUB $userflag $trig4 main_func4
  32. bind PUB $userflag $trig5 main_func5
  33. bind PUB $userflag $trig6 main_func6
  34. bind PUB $userflag $trig7 main_func7
  35. bind PUB $userflag $trig8 main_func8
  36. bind PUB $userflag $trig9 main_func9
  37. bind PUB $userflag $trig10 main_func10
  38. bind PUB $userflag $trig11 main_func11
  39. bind PUB $userflag $trig12 main_func12
  40.  
  41. proc main_func {nick uhost hand chan arg} {show_botnetinfo $nick $uhost $hand $chan $arg}
  42.  
  43. proc show_botnetinfo {nick uhost hand chan arg} {
  44.  
  45. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\037L\003\0034enovo M58p Botnet Uptime\037\017\00364\002\]\003\003\0034°|°Oo.  \003«--"
  46. putserv "PRIVMSG $chan :"
  47. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306B\003\0034otnet Uptime\017\00364\002\]\003\003\0034°|°Oo.--» [duration [expr [clock seconds] - $::uptime]]\002\003"
  48.  
  49. }
  50.  
  51. proc main_func2 {nick uhost hand chan arg} {show_sysinfo $nick $uhost $hand $chan $arg}
  52.  
  53. proc show_sysinfo {nick uhost hand chan arg} {
  54. catch {exec sysinfo} shellinfo
  55.  
  56. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\037L\003\0034enovo M58p System Information\037\017\00364\002\]\003\003\0034°|°Oo.  \003«--"
  57. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\003\003$shellinfo\017\00364\002\]\003\003\0034°|°Oo."
  58. }
  59.  
  60. proc main_func3 {nick uhost hand chan arg} {show_shelluptime $nick $uhost $hand $chan $arg}
  61.  
  62. proc show_shelluptime {nick uhost hand chan arg} {
  63. catch {exec uptime} shelluptime
  64. catch {exec uname -a} uname
  65. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\037L\003\0034enovo M58p Darwin UNIX Uptime & Uname -a\037\017\00364\002\]\003\003\0034°|°Oo.  \003«--"
  66. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306U\003\0034ptime\017\00364\002\]\003\003\0034°|°Oo.--» $shelluptime \003"
  67. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306S\003\0034ystem\017\00364\002\]\003\003\0034°|°Oo.--» $uname \003"
  68.  
  69. }
  70. ## itunes Remote Control ##
  71. ## Now Playing ##
  72. proc main_func4 {nick uhost hand chan arg} {show_itunesnp $nick $uhost $hand $chan $arg}
  73.  
  74. proc show_itunesnp {nick uhost hand chan arg} {
  75. catch {exec itunesnp status} itunes
  76. putserv "PRIVMSG $chan : --»\0034 .oO°|°\017\00364\002\[\00306\037\003\0034$itunes\037\017\00364\002\]\003\003\0034°|°Oo. \003«--"
  77.  
  78. }
  79. ## Play ##
  80. proc main_func5 {nick uhost hand chan arg} {show_itunesplay $nick $uhost $hand $chan $arg}
  81.  
  82. proc show_itunesplay {nick uhost hand chan arg} {
  83. catch {exec itunesnp play} play
  84. putserv "PRIVMSG $chan : --»\0036 .oO°|°$play°|°Oo. \003«--"
  85.  
  86. }
  87. ## Pause ##
  88. proc main_func6 {nick uhost hand chan arg} {show_itunespause $nick $uhost $hand $chan $arg}
  89.  
  90. proc show_itunespause {nick uhost hand chan arg} {
  91. catch {exec itunesnp pause} pause
  92. putserv "PRIVMSG $chan : --»\0036 .oO°|°$pause°|°Oo. \003«--"
  93.  
  94. }
  95. ## Stop ##
  96. proc main_func7 {nick uhost hand chan arg} {show_itunesstop $nick $uhost $hand $chan $arg}
  97.  
  98. proc show_itunesstop {nick uhost hand chan arg} {
  99. catch {exec itunesnp stop} stop
  100. putserv "PRIVMSG $chan : --»\00364 .oO°|°$stop°|°Oo. \003«--"
  101.  
  102. }
  103. ## Next ##
  104. proc main_func8 {nick uhost hand chan arg} {show_itunesnext $nick $uhost $hand $chan $arg}
  105.  
  106. proc show_itunesnext {nick uhost hand chan arg} {
  107. catch {exec itunesnp next} next
  108. putserv "PRIVMSG $chan : --»\0036 .oO°|°$next°|°Oo. \003«--"
  109.  
  110. }
  111. ## Prev ##
  112. proc main_func9 {nick uhost hand chan arg} {show_itunesprev $nick $uhost $hand $chan $arg}
  113.  
  114. proc show_itunesprev {nick uhost hand chan arg} {
  115. catch {exec itunesnp prev} prev
  116. putserv "PRIVMSG $chan : --»\0036 .oO°|°$prev°|°Oo. \003«--"
  117.  
  118. }
  119. ## Chat Room Rules ##
  120. proc main_func10 {nick uhost hand chan arg} {show_rules $nick $uhost $hand $chan $arg}
  121.  
  122. proc show_rules {nick uhost hand chan arg} {
  123. catch {exec echo \037UNIXB0T RULES:\037 Please do not idle in here. This is a \037Warning!\037, if no response after 5mins \037YOU WILL BE BAN!\037 Please \037respect\037 users in here and \037SYS ADMINS\037, and stay on topic BSD and UNIX including FreeBSD, OS X (darwin), and Solaris. } rules
  124. putserv "PRIVMSG $chan : \0039.oO°|°\003\0039(\003\0034 $rules \003\0039)\003\0039°|°Oo.\003"
  125.  
  126. }
  127. ## BSDBOX info ##
  128. proc main_func12 {nick uhost hand chan arg} {show_bsdbox $nick $uhost $hand $chan $arg}
  129.  
  130. proc show_bsdbox {nick uhost hand chan arg} {
  131. catch {exec echo \0034\037BSDBOX Info:\037\003\0034 The BSDBOX Project @ https://sourceforge.net/projects/thebsdboxproject/ \003  } bsdbox
  132. putserv "PRIVMSG $chan : \0039.oO°|°\003\0039(\003\0034 $bsdbox \003\0039)\003\0039°|°Oo.\003"
  133.  
  134. }
  135.  
  136. ## Channel Info ##
  137. proc main_func11 {nick uhost hand chan arg} {chan_info $nick $uhost $hand $chan $arg}
  138.  
  139. proc chan_info {nick uhost hand chan arg} {
  140. set listusers [llength [chanlist $chan]]
  141. set chanbans [llength [chanbans $chan]]
  142. set topic [topic $chan]
  143.  
  144. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\037#\003\0034bsdgeekclub Channel Info\037\017\00364\002\]\003\003\0034°|°Oo.  \003«--"
  145. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306C\003\0034hannel Users\017\00364\002\]\003\003\0034°|°Oo.--» $listusers\002\003"
  146. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306C\003\0034hannel Bans\017\00364\002\]\003\003\0034°|°Oo.--» $chanbans\002\003"
  147. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306C\003\0034hannel Topic\017\00364\002\]\003\003\0034°|°Oo.--» $topic\002\003"  
  148.  
  149. }
  150. ############################################################
  151. putlog "Botnetinfo by: CyberpunkZ is now loaded."
Advertisement
Add Comment
Please, Sign In to add comment