Ghost-writer commented on a Page, -.-Quote V1.0 VIA Bot-.-  -  Nov 03, 2009

a few things could be shortend

if (%sl.qra == $null) { msg $chan 10,0Random quote 6# $+ %sl.qr 10 $+ %sl.qra  }

Could be

if (!$sl.qra) msg $chan 10,0Random quote 6# $+ %sl.qr 10 $+ %sl.qra 
    set %sl.qr $rand(1,$lines(quote.txt))
      set %sl.qra $read(quote.txt, %sl.qr)

This could be set to the var command so you dont have to unset them after, and when unsetting variables that start the same, unset sl.* works.

And finally

  else { halt }
}

no need for the else, just end it off.

 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.