collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Strat Mod  (Read 3350 times)

0 Members and 1 Guest are viewing this topic.

Offline Allisande

  • BeBot User
  • **
  • Posts: 68
  • Karma: +0/-0
Strat Mod
« 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.


Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Strat Mod
« Reply #1 on: December 24, 2008, 03:09:19 pm »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Allisande

  • BeBot User
  • **
  • Posts: 68
  • Karma: +0/-0
Re: Strat Mod
« Reply #2 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.

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: Strat Mod
« Reply #3 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

Offline xdave78

  • BeBot User
  • **
  • Posts: 26
  • Karma: +0/-0
Re: Strat Mod
« Reply #4 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
« Last Edit: February 14, 2009, 10:30:53 pm by xdave78 »

Offline Solldara

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Strat Mod
« Reply #5 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.
« Last Edit: February 14, 2009, 05:21:29 pm by Solldara »

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 679
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal