<?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</id>
	<title>Help - 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"/>
	<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Help&amp;action=history"/>
	<updated>2026-05-25T21:33:33Z</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&amp;diff=14&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 help to a module you have t…&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Help&amp;diff=14&amp;oldid=prev"/>
		<updated>2020-09-16T21:51:52Z</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 help to a module you have t…&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;
&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;
Adding help&lt;br /&gt;
&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;
&lt;br /&gt;
    $this → help[&amp;#039;description&amp;#039;] = &amp;#039;Description of the module&amp;#039;; for a description shown in the top of the help window&lt;br /&gt;
    $this → help[&amp;#039;command&amp;#039;][&amp;#039;command1&amp;#039;]=“What does command1 do without any keywords”;&lt;br /&gt;
    $this → help[&amp;#039;command&amp;#039;][&amp;#039;command1 keyword&amp;#039;] = “What does command1 do with keyword”;&lt;br /&gt;
    $this → help[&amp;#039;command&amp;#039;][&amp;#039;command2 keyword &amp;lt;param&amp;gt;&amp;#039;] = “What does command2 do with &amp;lt;param&amp;gt;”;&lt;br /&gt;
    $this → help[&amp;#039;notes&amp;#039;] = “Notes for the help goes in here.”; any kind of note related to the commands.&lt;/div&gt;</summary>
		<author><name>B3b0tUzR</name></author>
	</entry>
</feed>