these are the exact commands that worked for me
using vbulletin files :
chdir('/path/to/forum'); define('THIS_SCRIPT', 'login'); require_once( './global.php'); require_once( DIR . '/includes/functions_wysiwyg.php' ); echo convert_wysiwyg_html_to_bbcode('<i>hello world</i>');
using external function :
Sitemap Creator crawls/spiders your website creating XML sitemaps compatible with the standard sitemaps.org protocol supported by Google, Yahoo!, MSN and MoreOver. The script pings Google, Yahoo!, MSN and MoreOver bots to download the sitemap file, then tracks the bot and sends you an email on every scan to your Sitemap and gives you a full report of the Search Engine respond.
Sitemaps are created from a CSV file which could easily be edited using any text editor before creating the sitemap.
you can exclude an email address or even a host that is spamming you using the access file located in your etc directory, the bad news is that it does not support regex or even wildcards.