collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Chuck Norris Module - Say random facts of the Chuck Norris of your Guild (EN/FR)  (Read 9868 times)

0 Members and 1 Guest are viewing this topic.

Offline Oolwe

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
- Say random Facts of Chuck Norris on !chuck
- Chuck Norris name can be replace to whatever you want on line 58 of the script:
Code: [Select]
$chuck = "Chuck Norris";
credits: this module is a version of a modified module beer.php find in this forum all credits goes to the author.

For the English version i have added the 50 most ratted Chuck Norris facts.

English:
Code: [Select]
<?php
/*
 * Change Chuck Norris name to whatever you want on line 58
 * Beer - A Social Module
 * For BeBot - An Anarchy Online/Age of Conan Chat Automaton Developed by Blondengy (RK1) (beer.php)
 * Copyright (C) 2004 Jonas Jax
 * Rewrite and quote gathering by Wood of Exalted (Aquilonia EU)
 * Memory handling Improved Code by Temar
 *
 *
 * As usual place this file in ./modules
 */

/*
Add a "_" at the beginning of the file (_beer.php) if you do not want it to be loaded.
*/

$beer = new beer($bot);

/*
The Class itself...
*/
class beer Extends BaseActiveModule
{
/*
Constructor:
Hands over a referance to the "Bot" class.
*/
function __construct ($bot)
{
parent::__construct($botget_class($this));

$this -> register_command("all""chuck""GUEST");
$this -> help['command']['chuck'] = "Show a random fact about the Chuck of the Guild.";
}

/*
This function handles all the inputs and returns output
sutible for send_tell, send_pgroup, and send_gc.
*/
function command_handler($name$msg$origin)
{
$this->error->reset(); //Reset the error message so we don't trigger the handler by old error messages.

return $this -> get_beers($name);
}

    
/*
      Constructor:
        Hands over a referance to the "Bot" class.
    */
/*
Build response
*/
    
function get_beers($name)
    {
// Change to whatever you want 
$chuck "Chuck Norris";    
    
        
$beer_quotes[] = 
$beer_quotes[] = "When Alexander Bell invented the telephone he had 3 missed calls from $chuck";
$beer_quotes[] = "Fear of spiders is aracnaphobia, fear of tight spaces is chlaustraphobia, fear of $chuck is called Logic";
$beer_quotes[] = "$chuck doesn't call the wrong number. You answer the wrong phone.";
$beer_quotes[] = "$chuck has a grizzly bear carpet in his room. The bear isn't dead it is just afriad to move.";
$beer_quotes[] = "There used to be a street named after $chuck, but it was changed because nobody crosses $chuck and lives.";
$beer_quotes[] = "$chuck didn't hit puberty, he beat the hell out of it.";
$beer_quotes[] = "$chuck died 20 years ago, Death just hasn't built up the courage to tell him yet.";
$beer_quotes[] = "If you rate this 5 roundhouse kicks, then $chuck WILL roundhouse kick Justin Bieber's ass.";
$beer_quotes[] = "$chuck has already been to Mars; that's why there are no signs of life.";
$beer_quotes[] = "Some magicans can walk on water, $chuck can swim through land.";
$beer_quotes[] = "$chuck and Superman once fought each other on a bet. The loser had to start wearing his underwear on the outside of his pants.";
$beer_quotes[] = "$chuck doesn't flush the toilet, he scares the sh*t out of it";
$beer_quotes[] = "$chuck can cut through a hot knife with butter";
$beer_quotes[] = "$chuck once urinated in a semi truck's gas tank as a joke....that truck is now known as Optimus Prime.";
$beer_quotes[] = "$chuck counted to infinity - twice.";
$beer_quotes[] = "$chuck is the reason why Waldo is hiding.";
$beer_quotes[] = "Death once had a near-$chuck experience";
$beer_quotes[] = "$chuck can slam a revolving door.";
$beer_quotes[] = "When the Boogeyman goes to sleep every night, he checks his closet for $chuck.";
$beer_quotes[] = "$chuck will never have a heart attack. His heart isn't nearly foolish enough to attack him.";
$beer_quotes[] = "Ghosts sit around the campfire and tell $chuck stories.";
$beer_quotes[] = "$chuck can win a game of Connect Four in only three moves.";
$beer_quotes[] = "$chuck once kicked a horse in the chin. Its decendants are known today as Giraffes.";
$beer_quotes[] = "$chuck once got bit by a rattle snake........ After three days of pain and agony ..................the rattle snake died";
$beer_quotes[] = "When $chuck does a pushup, he isn't lifting himself up, he's pushing the Earth down.";
$beer_quotes[] = "There is no theory of evolution. Just a list of animals $chuck allows to live.";
$beer_quotes[] = "The original title for Alien vs. Predator was Alien and Predator vs $chuck. The film was cancelled shortly after going into preproduction. No one would pay nine dollars to see a movie fourteen seconds long.";
$beer_quotes[] = "$chuck can light a fire by rubbing two ice-cubes together.";
$beer_quotes[] = "$chuck doesn't read books. He stares them down until he gets the information he wants.";
$beer_quotes[] = "$chuck made a Happy Meal cry.";
$beer_quotes[] = "$chuck doesn’t wear a watch. HE decides what time it is.";
$beer_quotes[] = "$chuck' hand is the only hand that can beat a Royal Flush.";
$beer_quotes[] = "There is no theory of evolution. Just a list of creatures $chuck has allowed to live.";
$beer_quotes[] = "$chuck does not sleep. He waits.";
$beer_quotes[] = "When $chuck puts milk on Rice Krispies they keep quiet.";
$beer_quotes[] = "Outer space exists because it's afraid to be on the same planet with $chuck.";
$beer_quotes[] = "Some people wear Superman pajamas. Superman wears $chuck pajamas.";
$beer_quotes[] = "A Klondike Bar will do anything for a $chuck.";
$beer_quotes[] = "When $chuck stares at the Sun, the Sun goes blind.";
$beer_quotes[] = "The Universe is constantly expanding, in a futile attempt to escape from $chuck.";
$beer_quotes[] = "$chuck played who will blink first, with a mirror. And he won";
$beer_quotes[] = "If you spell $chuck in Scrabble, you win. Forever.";
$beer_quotes[] = "$chuck destroyed the periodic table, because $chuck only recognizes the element of surprise.";
$beer_quotes[] = "$chuck can hit 11 out of 10 targets with 9 arrows.";
$beer_quotes[] = "$chuck once threw a grenade, it killed 50 people. THEN it blew up.";
$beer_quotes[] = "Contrary to popular belief, $chuck cannot fly. He just jumps and chooses when to come down.";
$beer_quotes[] = "$chuck once won a chess game after losing his king";
$beer_quotes[] = "$chuck hears sign language";
$beer_quotes[] = "The only time $chuck was wrong was when he thought he made a mistake";
$beer_quotes[] = "$chuck can watch music.";
return $beer_quotes[rand(0,sizeof($beer_quotes)-1)];
    }
}
?>

French:
Code: [Select]
<?php
/*
 * Beer - A Social Module
 * For BeBot - An Anarchy Online/Age of Conan Chat Automaton Developed by Blondengy (RK1) (beer.php)
 * Copyright (C) 2004 Jonas Jax
 * Rewrite and quote gathering by Wood of Exalted (Aquilonia EU)
 * Memory handling Improved Code by Temar
 *
 *
 * As usual place this file in ./modules
 */

/*
Add a "_" at the beginning of the file (_beer.php) if you do not want it to be loaded.
*/

$beer = new beer($bot);

/*
The Class itself...
*/
class beer Extends BaseActiveModule
{
/*
Constructor:
Hands over a referance to the "Bot" class.
*/
function __construct ($bot)
{
parent::__construct($botget_class($this));

$this -> register_command("all""chuck""GUEST");
$this -> help['command']['chuck'] = "Show a random fact about the Chuck of the Guild.";
}

/*
This function handles all the inputs and returns output
sutible for send_tell, send_pgroup, and send_gc.
*/
function command_handler($name$msg$origin)
{
$this->error->reset(); //Reset the error message so we don't trigger the handler by old error messages.

return $this -> get_beers($name);
}

    
/*
      Constructor:
        Hands over a referance to the "Bot" class.
    */
/*
Build response
*/
    
function get_beers($name)
    {
$chuck "Chuck Norris";    
    
        
$beer_quotes[] = 
$beer_quotes[] = "$chuck a déjà compté jusqu'à l'infini. Deux fois.";
$beer_quotes[] = "Google, c'est le seul endroit où tu peux taper $chuck...";
$beer_quotes[] = "Certaines personnes portent un pyjama Superman. Superman porte un pyjama $chuck.";
$beer_quotes[] = "$chuck donne fréquemment du sang à la Croix-Rouge. Mais jamais le sien.";
$beer_quotes[] = "$chuck et Superman ont fait un bras de fer, le perdant devait mettre son slip par dessus son pantalon.";
$beer_quotes[] = "$chuck peut gagner une partie de puissance 4 en trois coups.";
$beer_quotes[] = "Le dernier homme a avoir sérré la main à $chuck est Jamel Debouzze.";
$beer_quotes[] = "Jesus Christ est né en 1940 avant $chuck.";
$beer_quotes[] = "$chuck ne porte pas de montre. Il décide de l'heure qu'il est.";
$beer_quotes[] = "Un jour, $chuck a perdu son alliance. Depuis c'est le bordel dans les terres du milieu...";
$beer_quotes[] = "La seule chose qui arrive à la cheville de $chuck... c'est sa chaussette.";
$beer_quotes[] = "$chuck fait pleurer les oignons.";
$beer_quotes[] = "Dieu a dit: que la lumiere soit! et $chuck répondit: On dit s'il vous plait.";
$beer_quotes[] = "$chuck joue à la roulette russe avec un chargeur plein.";
$beer_quotes[] = "Quand Google ne trouve pas quelque chose, il demande à $chuck.";
$beer_quotes[] = "Les suisses ne sont pas neutres, ils attendent de savoir de quel coté $chuck se situe.";
$beer_quotes[] = "$chuck a déjà été sur Mars, c'est pour cela qu'il n'y a pas de signes de vie là bas.";
$beer_quotes[] = "$chuck est la raison pour laquelle Charlie se cache.";
$beer_quotes[] = "$chuck mesure son pouls sur l'échelle de Richter.";
$beer_quotes[] = "Un jour, au restaurant, $chuck a commandé un steak. Et le steak a obéi.";
$beer_quotes[] = "$chuck connait la dernière décimale de Pi.";
$beer_quotes[] = "Si $chuck avait été pris dans le film 300 il l'aurait renommé en 1.";
$beer_quotes[] = "Pour certains hommes le testicule gauche est plus large que le testicule droit, chez $chuck, chaque testicule est plus large que l'autre.";
$beer_quotes[] = "$chuck peut encercler ses ennemis. Tout seul.";
$beer_quotes[] = "$chuck n'utilise pas de suppositoire. Les voies du seigneur sont impénétrables.";
$beer_quotes[] = "$chuck mange les emballages des carambars. On ne blague pas avec $chuck..";
$beer_quotes[] = "$chuck peut t'étrangler avec un téléphone sans fil.";
$beer_quotes[] = "$chuck peut remonter le terrain de foot dans Olive et Tom en moins d'un épisode.";
$beer_quotes[] = "Un jour, $chuck a voulu enseigner le Jeet Kun Do à de jeunes handicapés mentaux. C'est ainsi qu'est née la Tecktonic.";
$beer_quotes[] = "Quand $chuck pisse face au vent, le vent péfère changer de direction.";
$beer_quotes[] = "$chuck est mort depuis 10 ans, mais la Mort n'a pas encore trouvé le courage d'aller lui dire.";
$beer_quotes[] = "$chuck peut te faire passer un sale quart d'heure en 8 minutes.";
$beer_quotes[] = "Quand $chuck s'est mis au judo, David Douillet s'est mis aux pièces jaunes.";
$beer_quotes[] = "$chuck aime la vie. Une chance pour elle.";
$beer_quotes[] = "Quand la tartine de $chuck tombe, la confiture change de côté.";
$beer_quotes[] = "Un jour $chuck a dit Va voir la-bas si j'y suis ....et il y était...";
$beer_quotes[] = "$chuck sera déclaré recordman du lancer du poids le jour où le poids retombera.";
$beer_quotes[] = "$chuck peut faire des tacles au babyfoot";
$beer_quotes[] = "La force de gravité, c'est ce qui fait que la terre tient sous $chuck.";
$beer_quotes[] = "$chuck va régulièrement voir des matchs du PSG pour ne pas oublier ce qu'est la défaite.";
$beer_quotes[] = "A l'école, c'est le professeur qui devait lever la main pour parler a $chuck.";
$beer_quotes[] = "Dieu voulait créer l'univers en 10 jours. $chuck lui en a donné 6.";
$beer_quotes[] = "$chuck enfant n'envoyait pas de lettres au Père Noël. Il envoyait des ultimatums.";
$beer_quotes[] = "Un aigle peut lire un journal à 1400 mètres de distance. $chuck peut tourner la page.";
$beer_quotes[] = "J.C.Van Damme casse des noix entre ses fesses. $chuck Casse J.C.Van Damme de le même façon.";
$beer_quotes[] = "En France, on dit aux enfants que s'ils ne veulent pas manger, le grand méchant loup les bouffera tout crus. Aux Etats-Unis, c'est de $chuck qu'on leur parle. C'est pour ça qu'il y a tant d'obèses.";
$beer_quotes[] = "$chuck a inventé l'écriture pour faire comprendre a un sourd qu'il allait lui péter la gueule.";
$beer_quotes[] = "Quand $chuck passe devant un miroir, il n'y a pas de reflet: il n'y a qu'un seul $chuck.";
$beer_quotes[] = "$chuck ne croit pas en Dieu, mais Dieu croit en $chuck.";
$beer_quotes[] = "Si Luke a pleuré quand Dark Vador lui a dit qu'il était son père, c'est parce qu'il esperait être le fils de $chuck.";
$beer_quotes[] = "Dieu dit : Tu ne tueras point, et $chuck répondit : on parie?";
$beer_quotes[] = "$chuck a fini son forfait illimité.";
$beer_quotes[] = "$chuck a perdu sa virginité avant son père.";
$beer_quotes[] = "Dans GTA San Andreas, si vous avez 7 étoiles, c'est que vous êtes recherché par $chuck.";
$beer_quotes[] = "$chuck peut claquer une porte fermée...";
$beer_quotes[] = "Le calendrier de $chuck passe du 31 mars au 2 avril. Personne ne fait de blague à $chuck.";
$beer_quotes[] = "$chuck a tué son ombre. On ne suit pas $chuck ...";
$beer_quotes[] = "Un film de Bruce Lee montre $chuck se faire battre par Bruce Lee. C'est là l'effet spécial le plus cher de toute l'histoire du cinéma.";
$beer_quotes[] = "$chuck peut supprimer la corbeille";
$beer_quotes[] = "C'est lorsque Mickael Jackson a croisé $chuck qu'il est devenu blanc.";
$beer_quotes[] = "La mer morte ne l'était pas avant de connaître $chuck";
$beer_quotes[] = "Lorsque $chuck crie au bord d'une falaise, il n'y a pas d'écho. On ne répond pas à $chuck.";
$beer_quotes[] = "$chuck joue à AOC sans l'écran car il trouve ça trop facile.(Atheris)";
return $beer_quotes[rand(0,sizeof($beer_quotes)-1)];
    }
}
?>
« Last Edit: October 24, 2013, 10:26:30 am by Oolwe »

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 480
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal