All pastes #209515 Raw Edit

Mine

public text v1 · immutable
#209515 ·published 2006-10-19 06:05 UTC
rendered paste body
alias chancheck {
  if ($nick($1,0) < 4) {
    part $1 Didn't meet minimum user requirement of 4 people, $chan $+ . Sorry. join #Chandler (/join #chandler) to be able to use my bot ANY TIME..
  }
}
}
on *:INVITE:#: {
join $chan
timer 1 3 /chancheck $chan
}




----------------------


on 1:INVITE:#: {
  if ($chan == $readini(blacklist.ini,channels,$chan)) {
  notice $nick $+ $chan has been blacklisted for: $readini(blacklist.ini,reasons,$chan) $+ }
  else {
    join $chan
    timer 1 1 msg $chan .::Hi, Thanks For chosing PlayMe as your IRC channel bot. For a list of commands, type !help. msg $chan PlayMe has been invited to $chan by $nick ::. please note: If you kick PlayMe more then 5 times your channel will be blacklisted, So please rember to just type th !kill command to get me to leave, if you have a bot in the channel already i will leave and posible black list you after a warning.
    timer 1 1 msg $chan If your blacklisted, MSG Chandler ( /msg chandler i was black listed...) for help. or for any orther help go to #Chandler (/join #Chandler)

    if ($ini(kcount.ini,kickcount,$chan) == $null) { }
    else {
timer 1 1  msg $chan PlayMe has been kicked before, $chan $+ 's kick count is $readini(kcount.ini,kickcount,$chan) $+ / $+ $readini(botsettings.ini,maxkickcount,maxkcount) . if PlayMe is kicked 5 times or more, your channel will be black listed. } } } }


---------------------

on *:JOIN:#: { if ($chan == #bots) { halt }
  if ($nick == playme) { halt }
  else { //notice $nick 7,14Welcome to $chan . I'm the channels bot. type in !help to get a list of commands. DO NOT pm me commands! }
}