So you get the nice black box with details in the actual page, much like WoWWiki does for loot tables etc.
Anyone done this before I run out and start tinkering

Pugs_
while (preg_match('#\[(item)(=[0-5])?\](.+?)\[/item\]#s', $message, $match) OR preg_match('#\[(itemico)(=[0-5])?\](.+?)\[/itemico\]#s', $message, $match) OR preg_match('#\[(itembox)(=[0-5])?\](.+?)\[/itembox\]#s', $message, $match))
if ($type == 'item')
if ($type == 'itembox')
{
//echo "In itembox<br/>" ;
$item_html = $this->getItemHtml($item_name);
}
else
{
#####existing code
}
{
while (preg_match('#\[(item)(=[0-5])?\](.+?)\[/item\]#s', $message, $match) OR preg_match('#\[(itemico)(=[0-5])?\](.+?)\[/itemico\]#s', $message, $match) OR preg_match('#\[(itembox)(=[0-5])?\](.+?)\[/itembox\]#s', $message, $match))
Users browsing this forum: No registered users and 0 guests