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 RaffleController

Authors: - Mindrila (RK1) - Tyrence (RK2)

Namespace: Budabot\User\Modules
Definecommand(:

command = 'raffle', accessLevel = 'all', description = 'Raffle off items to players', help = 'raffle.txt' )


Instance: Commands this class contains:
Located at RAFFLE_MODULE/RaffleController.class.php
Methods summary
public
# setup( )

Setup

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

Handlescommand("raffle")

Matches("/^raffle

start (\d+) (.+)$/i")
start (.+)$/i")
public
# raffleCancelCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("raffle")

Matches("/^raffle

cancel$/i")
public
# raffleEndCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("raffle")

Matches("/^raffle

end$/i")
public
# raffleResultCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("raffle")

Matches("/^raffle

result$/i")
public
# raffleJoinCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("raffle")

Matches("/^raffle

join$/i")
public
# raffleLeaveCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("raffle")

Matches("/^raffle

leave$/i")
public
# checkRaffleEvent( $eventObj )

Description("checks

to see if raffle is over")

Event("timer(2sec)")

public
# endraffle( )
public
# getNextTime( $endtime )
public
# showRaffleReminder( )
Properties summary
public $moduleName

Name of the module. Set automatically by module loader.

Name of the module. Set automatically by module loader.

#
public $settingManager

Inject

#
public $accessManager

Inject

#
public $text

Inject

#
public $util

Inject

#
Budabot 4 Docs API documentation generated by ApiGen