BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: kingwild on December 06, 2009, 02:36:11 pm

Title: Easy & Helpfull Commands :)
Post by: kingwild on December 06, 2009, 02:36:11 pm
Hello guys,
        i am new to the Bot Modules ,, err even Bot using ever,, i've set my first bebot working 2 days ago, Beisde its not an org bot, its a private Raid bot ... and i need some help with some commands,,,

Description:
its a command built on timer and detection from players in bot, Used to calculate the Duration , Cool down & Availability Of both Abilities "Guardian" of Soldiers & "Bio Regrowth " Of Advy, enfo & Engi.

Commands:
!Guard -->check who has Guardian and availability
!g --> when someone cast Guardian
!bior --> Check who has Bio-regrowth and availability
!b --> When someone cast regrowth

and some other commands like:
!s --> When Beast shield is on
!sd --> When Beast Shield is down

also:
!tell (whetever) --> Spam the bot chat with 3 echos of what is said between brackets "without brackets ofc"

and used by the Leader only ofc...

well, Those commands is available with VHA bot, but they r not included in the Bebot, which i DO prefer to use, and since i am noob with coding, i hope someone can help me making thoes commands ready :D

Thanks Alot ....<3
Title: Re: Easy & Helpfull Commands :)
Post by: Shelly on December 14, 2009, 02:57:28 am
Those commands are also in Budabot... I am looking at the code to see if I can convert them to BeBot or just re-write them... which ever is easier. :)
Title: Re: Easy & Helpfull Commands :)
Post by: Alreadythere on December 14, 2009, 05:43:13 pm
If you want to write the modules best check out timed events and timer classes (see in main/15_Timer_Core.php), they should make the job much easier. As then you won't have to do your own handling of the timers in cron.

If you can't understand my try of a documentation there feel free to ask again, I'll get around to write a howto then. Though that might take a couple of days to finish then.

Could have sworn there was a tell command, but the only module I found was for 0.2.x - and that definitly won't work anymore.
Title: Re: Easy & Helpfull Commands :)
Post by: Shelly on December 14, 2009, 11:52:55 pm
Thanks!
Looking at this code and the built-in timers you suggested ... it should be a LOT easier to write than the raidloot I already did...  ;D
Title: Re: Easy & Helpfull Commands :)
Post by: Shelly on January 18, 2010, 01:26:14 am
I released this module as a 1st pass...

Please see http://bebot.link/ao-0-6-x-customunofficial-modules/raid_tools-for-!bior-!guard/ (http://bebot.link/ao-0-6-x-customunofficial-modules/raid_tools-for-!bior-!guard/)

Enjoy!
Shelly
SimplePortal 2.3.7 © 2008-2024, SimplePortal