Jethro commented on a Page, Simple BRB and Back script -- For mIRC bots  -  Jun 21, 2011

Well ok, for starters, this:> if ($2 == $null) {
writeini brb.ini $nick Brb none
writeini brbonoff.ini $nick brb on
msg $chan » $nick will be right back. Reason: none. «
}
else {
writeini brb.ini $nick Brb $2-
writeini brbonoff.ini $nick brb on
msg $chan » $nick will be right back. Reason: $2- $+ . «
}
}can just be:

writeini brb.ini $nick Brb none
    writeini brbonoff.ini $nick brb on
    msg $chan » $nick will be right back. Reason: $iif($2,$2-,none.) «
  }

This is the crucial part that needs correcting to get rid of the redundancy.

 Respond  
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.