BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6.x Custom/Unofficial modules => Topic started by: Karsta on March 18, 2009, 02:50:54 pm

Title: PB/Symb module
Post by: Karsta on March 18, 2009, 02:50:54 pm
I dont know if this belongs to Module requests or here.

but would be awesome and very needed addition that !symb command also tells what PB drops it
::: Symbiants :::

Units: control
Slots: right hand
------------------------------------------

QL 40 Sluggish Right Hand Symbiant, Control Unit Aban        Teuvo
QL 100 Breathing Right Hand Symbiant, Control Unit Aban     Smee
QL 110 Operative Right Hand Symbiant, Control Unit Aban     Imk

and so on (yeah i know teuvo smee and imk are wrong)

thx

Karstas
Title: Re: PB/Symb module
Post by: Snarfblatt on July 24, 2009, 08:15:00 pm
I modified the Symbiants.php module to include a link to the PB.

Find:
Code: [Select]
$link = "<a href='itemref://{$symb['itemref']}/{$symb['itemref']}/{$symb['ql']}'>$title</a>";
Add After:
Code: [Select]
$bosslink = "Found on <a href='chatcmd:///tell <botname> pb {$symb['boss']}'>{$symb['boss']}</a>";
Find:

Code: [Select]
$readable_output .= "$link\n";
Change To:

Code: [Select]
$readable_output .= "$link\n$bosslink\n\n";
Title: Re: PB/Symb module
Post by: Karsta on August 16, 2009, 05:26:24 pm
It works, thx very much :D
SimplePortal 2.3.7 © 2008-2024, SimplePortal