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 ChatTopicController

Namespace: Budabot\User\Modules
Definecommand(:

command = 'topic', accessLevel = 'all', description = 'Shows Topic', help = 'topic.txt' )


Definecommand(:

command = 'topic .+', accessLevel = 'rl', description = 'Changes Topic', help = 'topic.txt' )


Instance: Commands this controller contains:
Located at BASIC_CHAT_MODULE/ChatTopicController.class.php
Methods summary
public
# topicCommand( $message, $channel, $sender, $sendto, $args )

This command handler shows topic.

This command handler shows topic.

Handlescommand("topic")

Matches("/^topic$/i")

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

This command handler clears topic.

This command handler clears topic.

Handlescommand("topic

.+")

Matches("/^topic

clear$/i")
public
# topicSetCommand( $message, $channel, $sender, $sendto, $args )

This command handler sets topic.

This command handler sets topic.

Handlescommand("topic

.+")

Matches("/^topic

(.+)$/i")
public
# logonEvent( $eventObj )

Description("shows

topic on logon of members")

Event("logon")

public
# joinPrivEvent( $eventObj )

Description("shows

topic when someone joins the private channel")

Event("joinpriv")

public
# setTopic( $name, $msg )
public
# buildTopicMessage( )

Builds current topic information message and returns it.

Builds current topic information message and returns it.

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 $settingManager

Inject

#
public $util

Inject

#
public $chatRallyController

Inject

#
public $chatLeaderController

Inject

#
public string $defaultTopic

Description("topic

for Priv Channel")

Setting("topic")

Type("text")

Visibility("noedit")

# ''
public string $defaultTopicSetBy

Description("character

who set the topic")

Setting("topic_setby")

Type("text")

Visibility("noedit")

# ''
public string $defaultTopicTime

Description("time

the topic was set")

Setting("topic_time")

Type("text")

Visibility("noedit")

# ''
Budabot 4 Docs API documentation generated by ApiGen