<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/15371" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2008-03-20T10:33:47-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/15371</id>

		<entry>
		<author><name><![CDATA[Mogour]]></name></author>
		<updated>2008-03-20T10:33:47-04:00</updated>

		<published>2008-03-20T10:33:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81925#p81925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81925#p81925"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81925#p81925"><![CDATA[
Maybe someone else can help me with that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9701">Mogour</a> — Thu Mar 20, 2008 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mogour]]></name></author>
		<updated>2008-03-08T05:32:39-04:00</updated>

		<published>2008-03-08T05:32:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81533#p81533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81533#p81533"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81533#p81533"><![CDATA[
Any news?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9701">Mogour</a> — Sat Mar 08, 2008 5:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mogour]]></name></author>
		<updated>2008-02-12T08:37:12-04:00</updated>

		<published>2008-02-12T08:37:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80820#p80820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80820#p80820"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80820#p80820"><![CDATA[
Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>btw starpossen posted one link that might be useful, you might wanna grab and test it.</div></blockquote>Oh ya, but it is for another game <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9701">Mogour</a> — Tue Feb 12, 2008 8:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[w00f]]></name></author>
		<updated>2008-02-12T00:21:11-04:00</updated>

		<published>2008-02-12T00:21:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80817#p80817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80817#p80817"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80817#p80817"><![CDATA[
lol ya its better you use puthelp instead of putquick , i don't rly have any probs cuz where i run my eggs i have special flags for them ;x<br><br>ill take a better look at your request when i got some time <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>btw <strong class="text-strong">starpossen</strong> posted one link that might be useful, you might wanna grab and test it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8264">w00f</a> — Tue Feb 12, 2008 12:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mogour]]></name></author>
		<updated>2008-02-11T10:40:22-04:00</updated>

		<published>2008-02-11T10:40:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80805#p80805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80805#p80805"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80805#p80805"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set allakhazam(search) "!item"set allakhazam(url) "http://camelot.allakhazam.com/searchdb.html?a=Search&amp;terms="package require httpbind pub -|- $allakhazam(search) search_itemsetudef flag allakhazamproc search_item {nick host hand chan arg} {  if {[lsearch -exact [channel info $chan] +allakhazam] == -1} { return }  global allakhazam  if {$arg == ""} {    putquick "PRIVMSG $chan :\002Syntax\017: $allakhazam(search) \[item] "    return  } else {set allakhazam(main_url) "http://camelot.allakhazam.com"catch { set tok [::http::geturl $allakhazam(url)[string map {\  + \' %27} $arg] -timeout 9000] } error    if {[string match -nocase "*couldn't open socket*" $error] || [::http::status $tok] == "timeout"} {putquick "PRIVMSG $chan :Couldn't connect to allakhazam.com. Try again later."return    }    set html [::http::data $tok]    ::http::cleanup $tok    if {[regexp {(.*)No items found(.*)} $html]} {      putquick "PRIVMSG $chan :No Results were found for\002 \'$arg\' "      return    } else {      if {[regexp -- {&lt;/table&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt;} $html -&gt; url item]} {set url [append allakhazam(main_url) $url]putlog "yep found it: $url"set tok [::http::geturl $url]    set html [::http::data $tok]::http::cleanup $tokif {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Realm:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span id=(.*)&gt;(.*?)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;} $html -&gt; realm]} { set realm "N/A" }if {![regexp -- {&lt;ul id=foundin&gt;&lt;li&gt;&lt;a href=(.*?)&gt;(.*?)&lt;/a&gt;&lt;/li&gt;} $html -&gt; foundinurl foundin]} { set foundin "N/A" ; set foundinurl "N/A" }if {$foundinurl != "N/A"} { set foundinurl [append allakhazam(main_url) $foundinurl] }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Slot:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; slot]} { set slot "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Armor Factor:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; armorFactor]} { set armorFactor "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Armor Absorb:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; armorAbsord]} { set armorAbsord "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Magical Bonuses:&lt;/b&gt;&lt;br /&gt;   Strength:  (.*?) pts&lt;br /&gt;   Quickness:  (.*?) pts&lt;/td&gt;&lt;/tr&gt;} $html -&gt; strength quickness]} { set strength "N/A" ; set quickness "N/A" }if {![regexp -- {Base Factor: (.*?)&lt;br /&gt;} $html -&gt; baseFactor]} { set baseFactor "N/A" }if {![regexp -- {Absorption: (.*?)&lt;br /&gt;} $html -&gt; absorption]} { set absorption "N/A" }if {![regexp -- {Quality: (.*?)&lt;br /&gt;} $html -&gt; armorQuality]} { set armorQuality "N/A" }if {![regexp -- {Condition: (.*?)&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;} $html -&gt; condition]} { set condition "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Quality:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; quality]} { set quality "N/A" }putquick "PRIVMSG $chan :\002Item:\017 $item \00314-\017\002 URL:\017 $url"putquick "PRIVMSG $chan :\002Realm:\017 $realm"putquick "PRIVMSG $chan :\002Found in:\017 $foundin @ $foundinurl"putquick "PRIVMSG $chan :\002Slot:\017 $slot"putquick "PRIVMSG $chan :\002Armor Factor:\017 $armorFactor"putquick "PRIVMSG $chan :\002Armor Absord:\017 $armorAbsord"putquick "PRIVMSG $chan :\002Magical Bonuses:\017 \037Strength\017 $strength \00314-\017 \037Quickness\037 $quickness"putquick "PRIVMSG $chan :\002Armor Base Factor:\017 $baseFactor"putquick "PRIVMSG $chan :\002Armor Absorption:\017 $absorption"putquick "PRIVMSG $chan :\002Armor Quality:\017 $armorQuality"putquick "PRIVMSG $chan :\002Armor Condition:\017 $condition"putquick "PRIVMSG $chan :\002Quality:\017 $quality"      } else {putquick "PRIVMSG $chan :regexp error while parsing html!"  }    }  }}putlog "allakhazam loaded yay"</code></pre></div>check this lil script and report any bugs, untested.<br>some stuff is missing, but i guess the most important is there (or no lol ;P)<br>im still a nub ;D<br><br>~w00f</div></blockquote><blockquote class="uncited"><div>use puthelp instead of putquick, I had the same problem once, so I changed it to puthelp or putserv it's better than putquick.</div></blockquote>Ya, it is working great, thanks!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>I found two bugs.<br><br>The first one:<br><br>Strengt and Quickness are always shown, but each item has other bonuses <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. Like this one - <a href="http://camelot.allakhazam.com/item.html?citem=3528" class="postlink">http://camelot.allakhazam.com/item.html?citem=3528</a> - it has Empathy and Blades bonuses. The bonuses are different from item to item.<br><br>The second one:<br><br>I already said it in my first post, not all items have a Armor Factor (only amor) and not all items have a Damage Type (only weapons), so, if the item is a weapon, there should be no armor factor, armor absord etc.<br><br>It would also be nice if you could add the "This item is dropped off monsters:" and "Levels of Use:" information!<br><br><br>Thanks for this really nice script, w00f!<br><br><br><br>Here you can see the difference between the items:<br><br><strong class="text-strong">Armor:</strong> <a href="http://camelot.allakhazam.com/item.html?citem=19797" class="postlink">http://camelot.allakhazam.com/item.html?citem=19797</a><br><strong class="text-strong">Weapon:</strong> <a href="http://camelot.allakhazam.com/item.html?citem=3528" class="postlink">http://camelot.allakhazam.com/item.html?citem=3528</a><br><strong class="text-strong">Jewellery:</strong> <a href="http://camelot.allakhazam.com/item.html?citem=6009" class="postlink">http://camelot.allakhazam.com/item.html?citem=6009</a><br><strong class="text-strong">Generic item:</strong> <a href="http://camelot.allakhazam.com/item.html?citem=27489" class="postlink">http://camelot.allakhazam.com/item.html?citem=27489</a><br><br><br><span style="color:red"><strong class="text-strong">EDIT:</strong></span><br><br>I found another bug:<br><br>If I write !item glove, there a many results.<br>The bot always takes the first one, but it would be better if he would say "Too many results, please be more specific."<br><br>And if there is only one result, the bot should take it. (that is working correctly, just wanted to be sure that you don't change it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">)<br><br>Example:<br><blockquote class="uncited"><div>User: !item gloves<br>Bot: Too many results, please be more specific.<br>User: !item deceiver gloves<br>Bot: Item:  Afterlife Deceiver Gloves (21462) - URL: <a href="http://camelot.allakhazam.com/item.html?citem=21462" class="postlink">http://camelot.allakhazam.com/item.html?citem=21462</a><br>[...]</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9701">Mogour</a> — Mon Feb 11, 2008 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-02-11T07:53:16-04:00</updated>

		<published>2008-02-11T07:53:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80803#p80803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80803#p80803"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80803#p80803"><![CDATA[
use puthelp instead of putquick, I had the same problem once, so I changed it to puthelp or putserv it's better than putquick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Feb 11, 2008 7:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-02-11T00:40:25-04:00</updated>

		<published>2008-02-11T00:40:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80802#p80802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80802#p80802"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80802#p80802"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>         putquick "PRIVMSG $chan :\002Item:\017 $item \00314-\017\002 URL:\017 $url"         putquick "PRIVMSG $chan :\002Realm:\017 $realm"         putquick "PRIVMSG $chan :\002Found in:\017 $foundin @ $foundinurl"         putquick "PRIVMSG $chan :\002Slot:\017 $slot"         putquick "PRIVMSG $chan :\002Armor Factor:\017 $armorFactor"         putquick "PRIVMSG $chan :\002Armor Absord:\017 $armorAbsord"         putquick "PRIVMSG $chan :\002Magical Bonuses:\017 \037Strength\017 $strength \00314-\017 \037Quickness\037 $quickness"         putquick "PRIVMSG $chan :\002Armor Base Factor:\017 $baseFactor"         putquick "PRIVMSG $chan :\002Armor Absorption:\017 $absorption"         putquick "PRIVMSG $chan :\002Armor Quality:\017 $armorQuality"         putquick "PRIVMSG $chan :\002Armor Condition:\017 $condition"         putquick "PRIVMSG $chan :\002Quality:\017 $quality" </code></pre></div></div></blockquote>*** Quits: $::botnick (Excess Flood)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Mon Feb 11, 2008 12:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2008-02-11T00:25:21-04:00</updated>

		<published>2008-02-11T00:25:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80801#p80801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80801#p80801"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80801#p80801"><![CDATA[
<a href="http://www.egghelp.org/tclhtml/8-4-0-0-1-wow-item.htm" class="postlink">http://www.egghelp.org/tclhtml/8-4-0-0-1-wow-item.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Mon Feb 11, 2008 12:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[w00f]]></name></author>
		<updated>2008-02-10T21:00:38-04:00</updated>

		<published>2008-02-10T21:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80798#p80798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80798#p80798"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80798#p80798"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set allakhazam(search) "!item"set allakhazam(url) "http://camelot.allakhazam.com/searchdb.html?a=Search&amp;terms="package require httpbind pub -|- $allakhazam(search) search_itemsetudef flag allakhazamproc search_item {nick host hand chan arg} {  if {[lsearch -exact [channel info $chan] +allakhazam] == -1} { return }  global allakhazam  if {$arg == ""} {    putquick "PRIVMSG $chan :\002Syntax\017: $allakhazam(search) \[item] "    return  } else {set allakhazam(main_url) "http://camelot.allakhazam.com"catch { set tok [::http::geturl $allakhazam(url)[string map {\  + \' %27} $arg] -timeout 9000] } error    if {[string match -nocase "*couldn't open socket*" $error] || [::http::status $tok] == "timeout"} {putquick "PRIVMSG $chan :Couldn't connect to allakhazam.com. Try again later."return    }    set html [::http::data $tok]    ::http::cleanup $tok    if {[regexp {(.*)No items found(.*)} $html]} {      putquick "PRIVMSG $chan :No Results were found for\002 \'$arg\' "      return    } else {      if {[regexp -- {&lt;/table&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt;} $html -&gt; url item]} {set url [append allakhazam(main_url) $url]putlog "yep found it: $url"set tok [::http::geturl $url]    set html [::http::data $tok]::http::cleanup $tokif {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Realm:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span id=(.*)&gt;(.*?)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;} $html -&gt; realm]} { set realm "N/A" }if {![regexp -- {&lt;ul id=foundin&gt;&lt;li&gt;&lt;a href=(.*?)&gt;(.*?)&lt;/a&gt;&lt;/li&gt;} $html -&gt; foundinurl foundin]} { set foundin "N/A" ; set foundinurl "N/A" }if {$foundinurl != "N/A"} { set foundinurl [append allakhazam(main_url) $foundinurl] }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Slot:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; slot]} { set slot "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Armor Factor:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; armorFactor]} { set armorFactor "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Armor Absorb:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; armorAbsord]} { set armorAbsord "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Magical Bonuses:&lt;/b&gt;&lt;br /&gt;   Strength:  (.*?) pts&lt;br /&gt;   Quickness:  (.*?) pts&lt;/td&gt;&lt;/tr&gt;} $html -&gt; strength quickness]} { set strength "N/A" ; set quickness "N/A" }if {![regexp -- {Base Factor: (.*?)&lt;br /&gt;} $html -&gt; baseFactor]} { set baseFactor "N/A" }if {![regexp -- {Absorption: (.*?)&lt;br /&gt;} $html -&gt; absorption]} { set absorption "N/A" }if {![regexp -- {Quality: (.*?)&lt;br /&gt;} $html -&gt; armorQuality]} { set armorQuality "N/A" }if {![regexp -- {Condition: (.*?)&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;} $html -&gt; condition]} { set condition "N/A" }if {![regexp -- {&lt;tr&gt;&lt;td&gt;&lt;b&gt;Quality:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;(.*?)&lt;/td&gt;&lt;/tr&gt;} $html -&gt; quality]} { set quality "N/A" }putquick "PRIVMSG $chan :\002Item:\017 $item \00314-\017\002 URL:\017 $url"putquick "PRIVMSG $chan :\002Realm:\017 $realm"putquick "PRIVMSG $chan :\002Found in:\017 $foundin @ $foundinurl"putquick "PRIVMSG $chan :\002Slot:\017 $slot"putquick "PRIVMSG $chan :\002Armor Factor:\017 $armorFactor"putquick "PRIVMSG $chan :\002Armor Absord:\017 $armorAbsord"putquick "PRIVMSG $chan :\002Magical Bonuses:\017 \037Strength\017 $strength \00314-\017 \037Quickness\037 $quickness"putquick "PRIVMSG $chan :\002Armor Base Factor:\017 $baseFactor"putquick "PRIVMSG $chan :\002Armor Absorption:\017 $absorption"putquick "PRIVMSG $chan :\002Armor Quality:\017 $armorQuality"putquick "PRIVMSG $chan :\002Armor Condition:\017 $condition"putquick "PRIVMSG $chan :\002Quality:\017 $quality"      } else {putquick "PRIVMSG $chan :regexp error while parsing html!"  }    }  }}putlog "allakhazam loaded yay"</code></pre></div>check this lil script and report any bugs, untested.<br>some stuff is missing, but i guess the most important is there (or no lol ;P)<br>im still a nub ;D<br><br>~w00f<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8264">w00f</a> — Sun Feb 10, 2008 9:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mogour]]></name></author>
		<updated>2008-02-10T14:59:40-04:00</updated>

		<published>2008-02-10T14:59:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80795#p80795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80795#p80795"/>
		<title type="html"><![CDATA[Allakhazam Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80795#p80795"><![CDATA[
Hi guys.<br><br>I need a script that can read out the items from <a href="http://camelot.allakhazam.com/searchdb.html" class="postlink">http://camelot.allakhazam.com/searchdb.html</a><br><br>If I write <strong class="text-strong">!item <em class="text-italics">&lt;name&gt;</em>,</strong> the Bot should look up the informations for that item and write it into the channel.<br><br>Example how it could be:<br><blockquote class="uncited"><div>&lt;User&gt; !item Test<br>&lt;Bot&gt; <strong class="text-strong">Realm:</strong> Albion<br>&lt;Bot&gt; <strong class="text-strong">This item is dropped off monsters:</strong> Monster1, Monster2, Monster3<br>&lt;Bot&gt; <strong class="text-strong">Found in:</strong> Test Zone<br>&lt;Bot&gt; <strong class="text-strong">Slot:</strong> Hands (<strong class="text-strong">requires:</strong> Armor: Chain)<br>&lt;Bot&gt; <strong class="text-strong">Armor Factor:</strong> 62<br>&lt;Bot&gt; <strong class="text-strong">Armor Absorb:</strong> 27<br>&lt;Bot&gt; <strong class="text-strong">Magical Bonuses:</strong> Dexterity 4 pts, Quickness 4 pts<br>&lt;Bot&gt; <strong class="text-strong">Base Factor:</strong> 102<br>&lt;Bot&gt; <strong class="text-strong">Absorption:</strong> 27%<br>&lt;Bot&gt; <strong class="text-strong">Quality:</strong> 100%<br>&lt;Bot&gt; <strong class="text-strong">Condition:</strong> 100%<br>&lt;Bot&gt; <strong class="text-strong">Quality:</strong> 90%</div></blockquote><br>So, if I write <strong class="text-strong">!item Bright Miscreant's Gloves</strong>, the bot should write the listed informations from <a href="http://camelot.allakhazam.com/item.html?citem=1429" class="postlink">http://camelot.allakhazam.com/item.html?citem=1429</a> into the channel<br><br>The only problem would be, that a weapon has points (like Damage Type), that an amor or an jewellery item don't have.<br><br>Is that script realizable?<br><br><br>I know it is a big request, but it would be nice if someone could help me with that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9701">Mogour</a> — Sun Feb 10, 2008 2:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
