Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!request:#CyberZNC: { msg $nick You are trying to request a free bouncer.
- msg $nick Please type !request in the query(PM) of $me to request a free bouncer.
- msg $nick Thank You! }
- on *:JOIN:#CyberZNC: { msg #CyberZNC Welcome to #CyberZNC $nick ! $address . You may request a free bouncer or znc by !request }
- on *:TEXT:!servers:#CyberZNC: {
- notice $nick Checking servers...
- timer 1 2 { halt }
- notice $nick Getting response...
- time 1 2 { halt }
- notice $nick Status :
- notice $nick 12Rainbow : 4offline
- notice $nick 12FlameBird : 4offline
- notice $nick 12Sunshine : 9online
- notice $nick 12WaterShark : 4offline
- notice $nick 12Omega : 4offline
- notice $nick 12Gurukul : 9online
- notice $nick 12Kronos : 9online
- }
- on 1500:TEXT:!join*:#: {
- if ($2 == $null) {
- notice $nick Syntax: !join #channel
- }
- else {
- if ($2 == #logging) {
- notice $nick Refusing to join #services
- halt
- }
- if ($2 == #opers) {
- notice $nick Refusing to join #opers
- halt
- }
- notice $nick Joining $2 ...
- join $2
- msg $2 [*] Joined on the request of $nick
- }
- }
- on 1500:TEXT:!identify:#: {
- msg nickserv id sunshine$7
- notice $nick Identified!
- }
- on 1500:TEXT:!ghost*:#: {
- msg nickserv ghost $2 sunshine$7
- }
- on 1500:TEXT:!part*:#: {
- if ($2 == $null) {
- msg # [!] Parting $2on the request of $nick
- part #
- }
- else {
- msg $2 [!] Parting on the request of $nick
- part $2
- }
- notice $nick Parted $2
- }
- on 1500:TEXT:!group*:?: {
- if ($2 == $null) {
- msg $nick Please specify a nick to be grouped!
- msg $nick Syntax : !group <Nick> <Password>
- }
- elseif ($3 == $null) {
- msg $nick Please specify a nick to be grouped!
- msg $nick Syntax : !group <Nick> <Password>
- }
- else {
- msg Nickserv group $2 $3
- }
- msg $nick Group was successfull!
- }
- on *:TEXT:!chan:#: {
- notice $nick --- Channel list ---
- notice $nick #CyberIRC - Our main channel
- notice $nick #Test - Our channel to test scripts and bots
- notice $nick #Help - Network official help channel.
- notice $nick #CyberZNC - A channel for free znc or bouncers.
- notice $nick --- End of channel command ---
- }
- on *:TEXT:!credits:#: {
- notice $nick --- Credits list ---
- notice $nick Sage "Sagar" (CyberIRC aka IlLuSiOn) - Ideas, bot coding
- notice $nick Macs - Bot hosting
- notice $nick --- End of credit command ---
- }
- on 1500:TEXT:!nick*:#: {
- if ($2 == $null) {
- notice $nick Syntax: !nick NewNick
- }
- else {
- if ($2 == CyberIRC || $2 == Sage) {
- notice $nick Refusing to take that nick
- }
- nick $2
- }
- }
- on *:TEXT:!request*:?: {
- if ($2 == $null) {
- msg $nick Syntax: !request <username> <password> <server> <port> <email>
- }
- elseif ($3 == $null) {
- msg $nick Syntax: !request <username> <password> <server> <port> <email>
- }
- elseif ($4 == $null) {
- msg $nick Syntax: !request <username> <password> <server> <port> <email>
- }
- elseif ($5 == $null) {
- msg $nick Syntax: !request <username> <password> <server> <port> <email>
- }
- elseif ($6 == $null) {
- msg $nick Syntax: !request <username> <password> <server> <port> <email>
- }
- else {
- msg $nick Please wait...
- write ZNCrequest.txt From : $nick ::: Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6
- timer 1 2 3 { halt }
- msg $nick Congratulation! Your request for ZNC/Bouncer have been approved!
- msg $nick You will receive an auto-generated mail when your znc is added.
- msg $nick Your request contains :
- msg $nick Username : $2
- msg $nick Password : $3
- msg $nick Server : $4
- msg $nick Port : $5
- msg $nick Email : $6
- msg $nick 13PLEASE NOTE IF YOU HAVE ENTERED AN INCORRECT EMAIL OR SERVER, YOUR ZNC WOULDN'T BE ADDED!
- }
- }
- on *:TEXT:!cmds:#: {
- notice $nick --- Command list ---
- notice $nick !servers - Get the current status of the servers
- notice $nick !chan - Get the list of our official channels
- notice $nick !request - Request a free znc or bouncer
- notice $nick !credits - Show the names of the people who have worked on this bot.
- notice $nick !add birtheday - Add yourself or anyone elese on the network birthday list.
- notice $nick !birthday - Check someome's birthday.
- notice $nick !calc - Calculate something.
- notice $nick !c-commands - Calculate commands.
- notice $nick --- End of list ---
- }
- on 1500:TEXT:!update:#: {
- msg $chan Updating the bot database and scripts.
- msg $chan Please wait...
- msg Nickserv update
- timer 1 2 3 { halt }
- msg $chan Update was successfull!
- msg $chan Error found : ( 0 )
- }
- on 1500:TEXT:!approve*:?: {
- if ($2 == $null) {
- msg $nick Syntax: !approve <username>
- }
- else {
- msg $nick $2 is var %value = $read(ZNCrequest.txt, $2, Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6)
- }
- }
- ON *:TEXT:!approve2*:#:{
- if ($readini(ZNCrequest.ini,n,ZNC,$2,$3,$4,$5,$6)) {
- var %2 = $v1
- }
- else { var %2 = $readini(ZNCrequest.ini,n,ZNC,$nick) }
- if (!%2) {
- msg $nick NO ZNC request found!
- }
- else {
- msg $nick Age: $calc(($ctime - $ctime(%2))/60/60/24/365) Years Old!
- msg $nick $2 %nick is Username : $2 , Password : $3 , Server : $4 , Port : $5 , Email : $6
- }
- }
- ON *:TEXT:!add birthday*:#:{
- if ($3) && ($regex($4,/^\d+\/\d+/\d+$/)) {
- writeini birthday.ini Birthday $3 $4
- notice $nick Birthday Saved.
- }
- else {
- notice $nick Syntax Error: !add birthday <NAME> <DD/MM/YYYY>
- }
- }
- ON *:TEXT:!birthday*:#:{
- if ($readini(birthday.ini,n,Birthday,$2)) {
- var %nick = $v1
- }
- else { var %nick = $readini(birthday.ini,n,Birthday,$nick) }
- if (!%nick) {
- notice $nick You Didn't Save Your Birthday Yet
- }
- else {
- notice $nick Age: $calc(($ctime - $ctime(%nick))/60/60/24/365) Years Old!
- }
- }
- on *:TEXT:!calc*:#: {
- if ($3 == $null) /msg $chan $2 =7 $calc( $2 )
- if ($3 != $null) /msg $chan 7Please dont use the space bar for the !calc7 trigger. Do it like this: 5+5 7for example.
- }
- on *:TEXT:!c-commands:#: {
- /msg $nick 7To use this channel calculator, you should know this:
- /msg $nick The Calculator Buttons Are: 7[+7] [-7] [^7] [*7] [/7]
- /msg $nick Here are some examples:
- /msg $nick 3^2 = 9
- /msg $nick 3*2 = 6
- /msg $nick 3/2 = 1,5
- /msg $nick 3+2 = 5
- /msg $nick 3-2 = 1
- }
Add Comment
Please, Sign In to add comment