Love

By Cracker200 on Sep 30, 2009

Just Read You shall find out how it works ;)

alias bncloop {
  inc %bncloop.vhosts
  inc %bncloop.nicks
  if (%bncloop.vhosts < $lines($1)) && ($1 == hosts.txt) { return $read($1,%bncloop.vhosts) | echo -a %hosts | halt }
  elseif (%bncloop.vhost == $lines($1)) { set %bncloop.vhosts 0 }  
  if (%bncloop.nicks < $lines($1)) && ($1 == nicks.txt) { return $read($1,%bncloop.nicks) | echo -a %nick | halt }
  elseif (%bncloop.nicks == $lines($1)) { set %bncloop.nicks 0 }
}

alias bncgo {
  if (!%net) && (!%chan) {
    set %net $$?="Enter Server"
  set %chan $$?="Enter #channel" }
  else { server -m IP PORT -i $bncloop(nicks.txt) }
}
alias bncgo.time { .timer $1 $2 bncgo }

on *:notice:*:?: {
  if (login/pass isin $1-) {
    raw login USER PASS
    raw vhost $bncloop(hosts.txt)
    raw conn %net
    timerBNC $+ $r(1,9) $+ $r(a,z) $+ $r(1,9) 1 4 mode $me -x
    timerBNC $+ $r(1,9) $+ $r(a,z) $+ $r(1,9) 1 5 join %chan
  }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.