<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.bebot.link/index.php?action=history&amp;feed=atom&amp;title=Help_System</id>
	<title>Help System - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.bebot.link/index.php?action=history&amp;feed=atom&amp;title=Help_System"/>
	<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Help_System&amp;action=history"/>
	<updated>2026-05-25T22:45:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.bebot.link/index.php?title=Help_System&amp;diff=96&amp;oldid=prev</id>
		<title>B3b0tUzR: Created page with &#039;====== Introduction ====== With bebot 0.3 the help is moved inside the modules offering the commands, and no longer kept in outside text files.  ====== Adding help ====== To add …&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Help_System&amp;diff=96&amp;oldid=prev"/>
		<updated>2020-09-16T22:44:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;====== Introduction ====== With bebot 0.3 the help is moved inside the modules offering the commands, and no longer kept in outside text files.  ====== Adding help ====== To add …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;====== Introduction ======&lt;br /&gt;
With bebot 0.3 the help is moved inside the modules offering the commands, and no longer kept in outside text files.&lt;br /&gt;
&lt;br /&gt;
====== Adding help ======&lt;br /&gt;
To add help to a module you have to define an array //$help// inside the class. Best place for the definition is the constructor of the class. The array got 3 fields:&lt;br /&gt;
  - &amp;#039;&amp;#039;$this -&amp;gt; help[&amp;#039;description&amp;#039;] = &amp;#039;Description of the module&amp;#039;;&amp;#039;&amp;#039; for a description shown in the top of the help window&lt;br /&gt;
  - &amp;#039;&amp;#039;$this -&amp;gt; help[&amp;#039;command&amp;#039;][&amp;#039;command1&amp;#039;]=&amp;quot;What does command1 do without any keywords&amp;quot;;&amp;#039;&amp;#039;&lt;br /&gt;
  - &amp;#039;&amp;#039;$this -&amp;gt; help[&amp;#039;command&amp;#039;][&amp;#039;command1 keyword&amp;#039;] = &amp;quot;What does command1 do with keyword&amp;quot;;&amp;#039;&amp;#039;&lt;br /&gt;
  - &amp;#039;&amp;#039;$this -&amp;gt; help[&amp;#039;command&amp;#039;][&amp;#039;command2 keyword &amp;lt;param&amp;gt;&amp;#039;] = &amp;quot;What does command2 do with &amp;lt;param&amp;gt;&amp;quot;;&amp;#039;&amp;#039;&lt;br /&gt;
  - &amp;#039;&amp;#039;$this -&amp;gt; help[&amp;#039;notes&amp;#039;] = &amp;quot;Notes for the help goes in here.&amp;quot;;&amp;#039;&amp;#039; any kind of note related to the commands.&lt;/div&gt;</summary>
		<author><name>B3b0tUzR</name></author>
	</entry>
</feed>