BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: Allisande on December 23, 2008, 07:37:39 pm

Title: Strat Mod
Post by: Allisande on December 23, 2008, 07:37:39 pm
Hey guys I was wondering if someone could help me write this mod or point me in the direction of one similar to my needs.  I should be fairly simple.  Here is what I'm looking for:

1.  Be able to !strat Add <bossname> - adds a new blob that leads to a boss.txt.
2.  Obviously !strat del <bossname> - deletes any blob no longer needed.
3.  Be able to have multiple blobs for people to click and read the current strat about their selected boss.

Look something like:

Tier 1 Raids
Kyllikki's Crypt
Honorguard (leads to Honorguard.txt)
Kiyllikki (leads to Kyllikki.txt)

Yakhmar (leads to Yakhmar.txt)

Vistrix (leads to Vistrix.txt)

Tier 2 Raids
Black Ring Citidal

West Wing

East Wing

blah blah blah

I think you get the idea.

Title: Re: Strat Mod
Post by: Getrix on December 24, 2008, 03:09:19 pm
Hi!

You can find a solution in this topics:
http://bebot.link/aoc-support/massive_pvp_time_table-1/
http://bebot.link/aoc-modules/script-module/
Title: Re: Strat Mod
Post by: Allisande on December 27, 2008, 12:26:22 am
Ok I finally got this working, but I think I went the long way in doing so.  Anyway here is what I did. 

1.  I created a module from a modified version of Rules.php (great mod btw) for each of the Boss Guides I wanted (Honorguard, Kyllikki, Vistrix, Yakhmar, Excorant, Yaremka).

2.  I then created another mod called !BossGuide that called the bossguide.txt that had
Quote
<font color=#4169e1>Boss Guides:</font>

<a href='chatcmd:///tell Dogsoldier !Yakhmar'>Yakhmar</a>
<a href='chatcmd:///tell Dogsoldier !Vistrix'>Vistrix</a>
<a href='chatcmd:///tell Dogsoldier !Honorguard'>Honorguard</a>
<a href='chatcmd:///tell Dogsoldier !Kyllikki'>Kyllikki</a>
<a href='chatcmd:///tell Dogsoldier !Gargoyle'>Excorant</a>
<a href='chatcmd:///tell Dogsoldier !Yaremka'>Yaremka</a>
<a href='chatcmd:///tell Dogsoldier !Ahazu'>Ahazu</a>

!bossguides creates a blob that displays these links.  Then all the user has to do is click on the guide they want to see.
Title: Re: Strat Mod
Post by: Wizhk on February 08, 2009, 02:11:12 am
OK im trying to work with this same thing.

How do I get a clickable link out of the bossguide?

I want to click the Bossguide text and then have it display another clickable link with the strat. Preferably in Guild chat or a tell to the person using it.

Thx
Title: Re: Strat Mod
Post by: xdave78 on February 14, 2009, 04:08:42 pm
Hey,

I guess its probably not possible...but is it SOMEHOW posslible to relay the Output Link to...letz say the group/or Raidchat somehow????

Perfect would be I call /tell bot !Kylliki per chatcmd:/// Link out of the Window and it returns the Loot/Guide...whatelse to /gu
Title: Re: Strat Mod
Post by: Solldara on February 14, 2009, 05:18:53 pm
Much to my guilds amusement we have guides for nearly everything :)

Just use the guides module and then copy forum posts to actually make up the guides.

It can't be written to directly by the members - I actually have to copy the forum post to the guide and set up the guide list, but once the framework is there it takes about 30 secs to set up a new guide.

In AoC players then have the option of accessing the guide privately ie send a tell to the bot, or putting it in guild chat.
SimplePortal 2.3.7 © 2008-2024, SimplePortal