on *:text:!joinscripton:#: {
if (%onjoinscript [ $+ [ $chan ] ] == on) { .notice $nick The on join script for $chan is already on }
if (%pestcontroloffon [ $+ [ $chan ] ] == on) { halt }
if (($nick isop $chan) || ($nick ishop $chan) || ($nick == aturner44)) {
set %onjoinscript [ $+ [ $chan ] ] on
.msg $chan The on join script for $chan is now on. }
}
on *:text:!joinscriptoff:#: {
if (%onjoinscript [ $+ [ $chan ] ] == off) { .notice $nick The on join script for $chan is already off }
if (%pestcontroloffon [ $+ [ $chan ] ] == off) { halt }
if (($nick isop $chan) || ($nick ishop $chan) || ($nick == aturner44)) {
set %onjoinscript [ $+ [ $chan ] ] off
.msg $chan The on join script for $chan is now off. }
}
on *:join:#: {
if ($chan == #bots) { halt }
if ($chan == #bot) { halt }
if ($nick == |God|Bot|) { halt }
if ($nick == aturner44) {
msg $chan ATENTIION Aturner44 has joined $chan $+ , respect Aturner44 as he is my owner ATENTIION
}
if ($nick == [-sword-]) {
msg $chan ATENTIION [-Sword-] has joined $chan $+ , respect [-Sword-] as he is bot staff ATENTIION
}
else {
if (%onjoinscript == off) { halt }
if ($chan == #80+) { notice $nick Hello and welcome $nick to $chan $+ , i am |God|Bot| for my commands type !commands. | notice $nick If you want to join a clan please pm eletric_god for more information! | halt }
/notice $nick Hello and welcome $nick to $chan $+ , i am |God|Bot| for my commands type !commands.
}
on *:part:#: {
if ($address($nick,2) == $address($me,2)) { halt }
if ($nick == $me) { halt }
/notice $nick Thankyou for visiting $chan $+ , please come again.
}
}
on *:kick:#: {
/illegalcheck $1-
if ($knick == |God|Bot|) {
/remini chanlist.ini chans $chan null
inc %kickcounter [ $+ [ $chan ] ]
notice aturner44 I was kicked out of $chan by $nick $+ .
}
}
on *:invite:#: {
if (%kickcounter [ $+ [ $chan ] ] >= 5) { notice $nick Sorry $chan is blacklisted | HALT }
if (%kickcounter [ $+ [ $chan ] ] == $null) { set %kickcounter [ $+ [ $chan ] ] 0 }
join $chan
/msg $chan Hello i am |God|Bot| for my commands type !commands, i have been kicked %kickcounter [ $+ [ $chan ] ] $+ /5, i can be kicked $calc( 5 - %kickcounter [ $+ [ $chan ] ] ) more times.
}
on *:text:!blacklist*:#: {
/illegalcheck $1-
set %kickcounter [ $+ [ $2 ] ] 5
/notice aturner44 $+ $2 is now black listed.
}
on $*:TEXT:/^(!part|!gtfo|!leave|!part Godbot|!gtfo Godbot|!leave Godbot)/Si:#: {
if ($nick isreg $chan || $nick isvoice $chan) { notice $nick Sorry $nick to make me leave you have to have op/half-op status. | halt }
if ($chan == #craigs || $chan == #craigs-staff || $chan == #godbot) { notice $nick Lol? make me leave from $chan $+ ! arent you funny! | halt }
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $me) {
.msg $chan Goodbye $chan i enjoyed my stay, i was told to part by $nick $+ .
/part $chan
}
}
on *:text:*:?: {
if ($nick == aturner44) { halt }
if ($1- == !scriptcommands) { halt }
if ($1- == !fun coms) { halt }
if ($1- == !runescape coms) { halt }
if ($1- == !helpfull coms) { halt }
if ($1- == !ban coms) { halt }
.msg $nick Please dont PM me i am a bot, thankyou.
ignore -u10 $address($nick,2)
close -m $nick
}