kj415j45/kjBot

View on GitHub
module/search/google.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

global $Queue;
$query='';
do{
    $arg = nextArg();
    $query.=urlencode($arg).'+';
}while($arg!==NULL);
$Queue[]= sendBack('https://google.com/search?q='.rtrim($query, '+'));

?>