if(command('qoutes',1)){ $q = split('\n', file_get_contents('quotes.txt')); sendcommand("privmsg $sender :$q[rand(0,sizeof($q))]"); }