Archive > AO 0.6.x Custom/Unofficial modules

PB/Symb module

(1/1)

Karsta:
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

Snarfblatt:
I modified the Symbiants.php module to include a link to the PB.

Find:

--- Code: ---$link = "<a href='itemref://{$symb['itemref']}/{$symb['itemref']}/{$symb['ql']}'>$title</a>";
--- End code ---

Add After:

--- Code: ---$bosslink = "Found on <a href='chatcmd:///tell <botname> pb {$symb['boss']}'>{$symb['boss']}</a>";
--- End code ---

Find:


--- Code: ---$readable_output .= "$link\n";
--- End code ---

Change To:


--- Code: ---$readable_output .= "$link\n$bosslink\n\n";
--- End code ---

Karsta:
It works, thx very much :D

Navigation

[0] Message Index

Go to full version