Guest User

Untitled

a guest
Oct 22nd, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.55 KB | None | 0 0
  1. on *:TEXT:!request:#CyberZNC: { msg $nick You are trying to request a free bouncer.
  2. msg $nick Please type !request in the query(PM) of $me to request a free bouncer.
  3. msg $nick Thank You! }
  4.  
  5.  
  6. on *:JOIN:#CyberZNC: { msg #CyberZNC Welcome to #CyberZNC $nick ! $address . You may request a free bouncer or znc by !request }
  7.  
  8.  
  9. on *:TEXT:!servers:#CyberZNC: {
  10. notice $nick Checking servers...
  11. timer 1 2 { halt }
  12. notice $nick Getting response...
  13. time 1 2 { halt }
  14. notice $nick Status :
  15. notice $nick 12Rainbow : 4offline
  16. notice $nick 12FlameBird : 4offline
  17. notice $nick 12Sunshine : 9online
  18. notice $nick 12WaterShark : 4offline
  19. notice $nick 12Omega : 4offline
  20. notice $nick 12Gurukul : 9online
  21. notice $nick 12Kronos : 9online
  22. }
  23. on 1500:TEXT:!join*:#: {
  24. if ($2 == $null) {
  25. notice $nick Syntax: !join #channel
  26. }
  27. else {
  28. if ($2 == #logging) {
  29. notice $nick Refusing to join #services
  30. halt
  31. }
  32. if ($2 == #opers) {
  33. notice $nick Refusing to join #opers
  34. halt
  35. }
  36. notice $nick Joining $2 ...
  37. join $2
  38. msg $2 [*] Joined on the request of $nick
  39. }
  40. }
  41.  
  42. on 1500:TEXT:!identify:#: {
  43. msg nickserv id sunshine$7
  44. notice $nick Identified!
  45. }
  46.  
  47. on 1500:TEXT:!ghost*:#: {
  48. msg nickserv ghost $2 sunshine$7
  49. }
  50.  
  51. on 1500:TEXT:!part*:#: {
  52. if ($2 == $null) {
  53. msg # [!] Parting $2on the request of $nick
  54. part #
  55. }
  56. else {
  57. msg $2 [!] Parting on the request of $nick
  58. part $2
  59. }
  60. notice $nick Parted $2
  61. }
  62.  
  63. on 1500:TEXT:!group*:?: {
  64. if ($2 == $null) {
  65. msg $nick Please specify a nick to be grouped!
  66. msg $nick Syntax : !group <Nick> <Password>
  67. }
  68. elseif ($3 == $null) {
  69. msg $nick Please specify a nick to be grouped!
  70. msg $nick Syntax : !group <Nick> <Password>
  71. }
  72. else {
  73. msg Nickserv group $2 $3
  74. }
  75. msg $nick Group was successfull!
  76. }
  77.  
  78. on *:TEXT:!chan:#: {
  79. notice $nick --- Channel list ---
  80. notice $nick #CyberIRC - Our main channel
  81. notice $nick #Test - Our channel to test scripts and bots
  82. notice $nick #Help - Network official help channel.
  83. notice $nick #CyberZNC - A channel for free znc or bouncers.
  84. notice $nick --- End of channel command ---
  85. }
  86.  
  87. on *:TEXT:!credits:#: {
  88. notice $nick --- Credits list ---
  89. notice $nick Sage "Sagar" (CyberIRC aka IlLuSiOn) - Ideas, bot coding
  90. notice $nick Macs - Bot hosting
  91. notice $nick --- End of credit command ---
  92. }
  93.  
  94.  
  95. on 1500:TEXT:!nick*:#: {
  96. if ($2 == $null) {
  97. notice $nick Syntax: !nick NewNick
  98. }
  99. else {
  100. if ($2 == CyberIRC || $2 == Sage) {
  101. notice $nick Refusing to take that nick
  102. }
  103. nick $2
  104. }
  105. }
  106.  
  107.  
  108. on *:TEXT:!request*:?: {
  109. if ($2 == $null) {
  110. msg $nick Syntax: !request <username> <password> <server> <port> <email>
  111. }
  112. elseif ($3 == $null) {
  113. msg $nick Syntax: !request <username> <password> <server> <port> <email>
  114. }
  115. elseif ($4 == $null) {
  116. msg $nick Syntax: !request <username> <password> <server> <port> <email>
  117. }
  118. elseif ($5 == $null) {
  119. msg $nick Syntax: !request <username> <password> <server> <port> <email>
  120. }
  121. elseif ($6 == $null) {
  122. msg $nick Syntax: !request <username> <password> <server> <port> <email>
  123. }
  124. else {
  125. msg $nick Please wait...
  126. write ZNCrequest.txt From : $nick ::: Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6
  127. timer 1 2 3 { halt }
  128. msg $nick Congratulation! Your request for ZNC/Bouncer have been approved!
  129. msg $nick You will receive an auto-generated mail when your znc is added.
  130. msg $nick Your request contains :
  131. msg $nick Username : $2
  132. msg $nick Password : $3
  133. msg $nick Server : $4
  134. msg $nick Port : $5
  135. msg $nick Email : $6
  136. msg $nick 13PLEASE NOTE IF YOU HAVE ENTERED AN INCORRECT EMAIL OR SERVER, YOUR ZNC WOULDN'T BE ADDED!
  137. }
  138. }
  139.  
  140. on *:TEXT:!cmds:#: {
  141.  
  142. notice $nick --- Command list ---
  143. notice $nick !servers - Get the current status of the servers
  144. notice $nick !chan - Get the list of our official channels
  145. notice $nick !request - Request a free znc or bouncer
  146. notice $nick !credits - Show the names of the people who have worked on this bot.
  147. notice $nick !add birtheday - Add yourself or anyone elese on the network birthday list.
  148. notice $nick !birthday - Check someome's birthday.
  149. notice $nick !calc - Calculate something.
  150. notice $nick !c-commands - Calculate commands.
  151. notice $nick --- End of list ---
  152. }
  153.  
  154.  
  155. on 1500:TEXT:!update:#: {
  156.  
  157. msg $chan Updating the bot database and scripts.
  158. msg $chan Please wait...
  159. msg Nickserv update
  160. timer 1 2 3 { halt }
  161. msg $chan Update was successfull!
  162. msg $chan Error found : ( 0 )
  163. }
  164.  
  165. on 1500:TEXT:!approve*:?: {
  166. if ($2 == $null) {
  167. msg $nick Syntax: !approve <username>
  168. }
  169. else {
  170. msg $nick $2 is var %value = $read(ZNCrequest.txt, $2, Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6)
  171. }
  172. }
  173.  
  174.  
  175. ON *:TEXT:!approve2*:#:{
  176. if ($readini(ZNCrequest.ini,n,ZNC,$2,$3,$4,$5,$6)) {
  177. var %2 = $v1
  178. }
  179. else { var %2 = $readini(ZNCrequest.ini,n,ZNC,$nick) }
  180. if (!%2) {
  181. msg $nick NO ZNC request found!
  182. }
  183. else {
  184. msg $nick Age: $calc(($ctime - $ctime(%2))/60/60/24/365) Years Old!
  185. msg $nick $2 %nick is Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6
  186. }
  187. }
  188.  
  189.  
  190. ON *:TEXT:!add birthday*:#:{
  191. if ($3) && ($regex($4,/^\d+\/\d+/\d+$/)) {
  192. writeini birthday.ini Birthday $3 $4
  193. notice $nick Birthday Saved.
  194. }
  195. else {
  196. notice $nick Syntax Error: !add birthday <NAME> <DD/MM/YYYY>
  197. }
  198. }
  199.  
  200.  
  201. ON *:TEXT:!birthday*:#:{
  202. if ($readini(birthday.ini,n,Birthday,$2)) {
  203. var %nick = $v1
  204. }
  205. else { var %nick = $readini(birthday.ini,n,Birthday,$nick) }
  206. if (!%nick) {
  207. notice $nick You Didn't Save Your Birthday Yet
  208. }
  209. else {
  210. notice $nick Age: $calc(($ctime - $ctime(%nick))/60/60/24/365) Years Old!
  211. }
  212. }
  213.  
  214.  
  215. on *:TEXT:!calc*:#: {
  216. if ($3 == $null) /msg $chan  $2 =7 $calc( $2 )
  217. if ($3 != $null) /msg $chan 7Please dont use the space bar for the !calc7 trigger. Do it like this:  5+5 7for example.
  218. }
  219. on *:TEXT:!c-commands:#: {
  220. /msg $nick 7To use this channel calculator, you should know this:
  221. /msg $nick The Calculator Buttons Are: 7[+7] [-7] [^7] [*7] [/7]
  222. /msg $nick Here are some examples:
  223. /msg $nick 3^2 = 9
  224. /msg $nick 3*2 = 6
  225. /msg $nick 3/2 = 1,5
  226. /msg $nick 3+2 = 5
  227. /msg $nick 3-2 = 1
  228. }
Add Comment
Please, Sign In to add comment