Overview

Namespaces

  • Budabot
    • Core
      • Modules
    • User
      • Modules
  • None
  • Tyrence
    • Modules

Classes

  • AlienArmorController
  • AlienBioController
  • AlienMiscController
  • AOSpeakController
  • AOUController
  • AXPController
  • BankController
  • BosslootController
  • BroadcastController
  • BuffPerksController
  • CacheController
  • ChatAssistController
  • ChatCheckController
  • ChatLeaderController
  • ChatRallyController
  • ChatSayController
  • ChatTopicController
  • CityWaveController
  • CloakController
  • ClusterController
  • CountdownController
  • DevController
  • DingController
  • EventsController
  • FightController
  • FindOrgController
  • FindPlayerController
  • FunController
  • GitController
  • GuideController
  • GuildController
  • HelpbotController
  • HtmlDecodeController
  • ImplantController
  • ImplantDesignerController
  • InactiveMemberController
  • ItemsController
  • KillOnSightController
  • LevelController
  • LinksController
  • LootListsController
  • MdbController
  • MessageInfoCommandReply
  • MockCommandReply
  • NanoController
  • NewsController
  • NotesController
  • OnlineController
  • OrgHistoryController
  • OrglistController
  • OrgMembersController
  • OSController
  • PlayerHistoryController
  • PlayfieldController
  • PocketbossController
  • PremadeImplantController
  • PrivateChannelController
  • QuoteController
  • RaffleController
  • RaidController
  • RandomController
  • RecipeController
  • RelayController
  • ReputationController
  • ResearchController
  • RunAsController
  • SendTellController
  • ShoppingController
  • SilenceController
  • SkillsController
  • SpiritsController
  • StopwatchController
  • Teamspeak3
  • TeamspeakController
  • TestController
  • TimeController
  • TimerController
  • TimezoneController
  • TowerController
  • TrackerController
  • TrickleController
  • UnixtimeController
  • VoteController
  • WeatherController
  • WhatBuffsController
  • WhereisController
  • WhoisController
  • WhoisOrgController
  • WhompahController
  • Overview
  • Namespace
  • Class

Class FunController

Author: - Tyrence (RK2)

Namespace: Budabot\User\Modules
Definecommand(:

command = 'beer', accessLevel = 'all', description = 'Shows a random beer message', help = 'fun_module.txt' )


Definecommand(:

command = 'brain', accessLevel = 'all', description = 'Shows a random pinky and the brain quote', help = 'fun_module.txt', alias = 'pinky' )


Definecommand(:

command = 'chuck', accessLevel = 'all', description = 'Shows a random Chuck Norris joke', help = 'fun_module.txt' )


Definecommand(:

command = 'cybor', accessLevel = 'all', description = 'Shows a random cybor message', help = 'fun_module.txt' )


Definecommand(:

command = 'dwight', accessLevel = 'all', description = 'Shows a random Dwight quote', help = 'fun_module.txt' )


Definecommand(:

command = 'fc', accessLevel = 'all', description = 'Shows a random FC quote', help = 'fun_module.txt' )


Definecommand(:

command = 'homer', accessLevel = 'all', description = 'Shows a random homer quote', help = 'fun_module.txt' )


Definecommand(:

command = 'pirates', accessLevel = 'all', description = 'Shows a random Pirates of the Caribbean quote', help = 'fun_module.txt' )


Instance: Commands this controller contains:
Located at FUN_MODULE/FunController.class.php
Methods summary
public
# setup( )

Setup

public
# getFunItem( $type, $sender, $number = null )
public
# beerCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("beer")

Matches("/^beer

(\d+)$/i")

Matches("/^beer$/i")

public
# brainCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("brain")

Matches("/^brain

(\d+)$/i")

aypwip.php - A Social Worrrrrld Domination! Module

Developed by Mastura (RK2/Rimor) from Shadow Ops from Anarchy Online. converted to Budabot by Tyrence (RK2)


Matches("/^brain$/i")

public
# chuckCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("chuck")

Matches("/^chuck

(\d+)$/i")

Author: Honge (RK2)

Additions taken from a module written by Temar for Bebot: http://bebot.shadow-realm.org/0-3-x-customunofficial-modules/chuck-norris/


Matches("/^chuck$/i")

public
# cyborCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("cybor")

Matches("/^cybor

(\d+)$/i")

Author: Derroylo (RK2)

Ported over from a bebot plugin written by Xenixa (RK1)


Matches("/^cybor$/i")

public
# dwightCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("dwight")

Matches("/^dwight

(\d+)$/i")

Developed by Sicarius Legion of Amra, a Age of Conan Guild on the Hyrkania server Converted to Budabot by Tyrence (RK2)


Matches("/^dwight$/i")

public
# fcCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("fc")

Matches("/^fc

(\d+)$/i")

Matches("/^fc$/i")

public
# homerCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("homer")

Matches("/^homer

(\d+)$/i")

Author: Derroylo (RK2)

Some entries taken from a module developed by MysterF aka Floryn from Band of Brothers - CROM originally for Bebot: http://bebot.shadow-realm.org/generic-custom-modules/homer-social-mod-for-bebot-0-6-2


Matches("/^homer$/i")

public
# piratesCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("pirates")

Matches("/^pirates

(\d+)$/i")

Developed by Sicarius Legion of Amra, a Age of Conan Guild on the Hyrkania server Converted to Budabot by Tyrence (RK2)


Matches("/^pirates$/i")

Properties summary
public $moduleName

Name of the module. Set automatically by module loader.

Name of the module. Set automatically by module loader.

#
public $chatBot

Inject

#
public $db

Inject

#
public $util

Inject

#
Budabot 4 Docs API documentation generated by ApiGen