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 ChatSayController

Namespace: Budabot\User\Modules
Definecommand(:

command = 'say', accessLevel = 'rl', description = 'Sends message to org chat or private chat', help = 'say.txt' )


Definecommand(:

command = 'tell', accessLevel = 'rl', description = 'Repeats a message 3 times', help = 'tell.txt' )


Definecommand(:

command = 'cmd', accessLevel = 'rl', description = 'Creates a highly visible message', help = 'cmd.txt' )


Instance:

Authors: - Legendadv (RK2) - Derroylo (RK2) - Marebone (RK2)

The ChatSayController class allows user to send messages to either org channel or to private (guest) channel.

Commands this class contains:


Located at BASIC_CHAT_MODULE/ChatSayController.class.php
Methods summary
public
# sayOrgCommand( $message, $channel, $sender, $sendto, $args )

This command handler sends message to org chat.

This command handler sends message to org chat.

Handlescommand("say")

Matches("/^say

org (.+)$/si")
public
# sayPrivCommand( $message, $channel, $sender, $sendto, $args )

This command handler sends message to private channel.

This command handler sends message to private channel.

Handlescommand("say")

Matches("/^say

priv (.+)$/si")
public
# cmdCommand( $message, $channel, $sender, $sendto, $args )

This command handler creates a highly visible message.

This command handler creates a highly visible message.

Handlescommand("cmd")

Matches("/^cmd

(.+)$/si")
public
# tellCommand( $message, $channel, $sender, $sendto, $args )

This command handler repeats a message 3 times.

This command handler repeats a message 3 times.

Handlescommand("tell")

Matches("/^tell

(.+)$/si")
Properties summary
public $chatBot

Inject

#
public $chatLeaderController

Inject

#
Budabot 4 Docs API documentation generated by ApiGen