Usefull Links

mIRC - The IRC client FreeBot was written in.

SwiftIRC - The IRC Network where FreeBot originated.

Hawkee - Technology community site.

Help & Such

FreeBot Tutorial
Extention System

Sponsored Links

Donate

FreeBot is, and always will be, free.

FreeBot is free for you to use, yet we ask you to donate if you appreciate FreeBot and the time put into it, so that we may continue developing the bot without worrying about server payments and such.

Read more

Extension System

With FreeBot [2.0] (Config.mrc v1.1) comes the ability to create your own extensions to improve the bot, and at the same time give something back to the other FreeBot users.

After creating an extension, contacting Marius in #FreeBot on the SwiftIRC (irc.swiftirc.net) network and giving him the extensions will enable it to be added to the extensiosn list, makign it available to all FreeBot users.

Extensions are the best solution to bot features taht some users may benefit form, but others may not, so instead of filling the bot with features that some users may not use, this will give the users requesting one feature the ability to get this feature.

Following are the custom identifiers used by FreeBot, to simplify things should you desire to make your own extensions at any time. You can request more custom identifiers in the above mentioned channel.


$se(section,item)
- Fetches data from the Settings.ini file (see the example settings file)
? $se(triggers,public)
* Returns the trigger for public commands
$custcol(nick,section)
- Gets the custom set colors for the set section
? $custcol(Marius,general.base)
* Returns the custom color set for the general.base color (Extensions should use general.* by default as they haev 4 set colors)
$rsn(NickName,RSN)
- If RSN is entered, this will be returned, if not it checks if NickName has a stored RSN, if not returns NickName as RSN
? $rsn(Marius,zezima) | $rsn(Marius)
* Returns zezima | Returns Marius (no RSN stored)
$saka(item)
- Used to get the AKA text set by the user for the skill item (stored in /Skills/TS.ini)
? $saka(Agility-Pyramid)
* Returns "pyramid" if that's what the Display Name is set to
$skill(hashtable,skill).lvl|.exp|.rank
- Used by the stats script (hash tables are unset after outputting data from stats_fetch.mrc)
returns level, exp or rank for the entered skill from the give hash table. ? $skill(u123456,attack).lvl
* Returns attack level for the user associated with the hash table u123456 ($hget(u123456,nick) to get nickname, $hget(u123456,name) to get RSN)
$nohtml(text string)
- Strips out all HTML tags from the entered text
? $nohtml(a href="moo.html">URL to a cow)
* Returns: URL to a cow
$order(numbered values)
- Orders the entered values from highest to lowest (each value is seperated by a space)
? $order(3 9 6 1 0)
* Returns: 0 1 3 6 9
$exp(level)
- Returns the exp associated with the entered level
? $exp(84)
* Returns: 2951373
$combat.base(def lvl, hp lvl, pray lvl)
- Returns the Combat Base points (part of the combat formula)
? $combat.base(40, 35, 27)
* Returns: 22
$combat.class(att lvl, str lvl, range lvl, mage lvl)
- Returns the class based combat levels (part of the combat formula)
? $combat.class(30, 21, 44, 19)
* Returns: 21.45 16.575 9.1
$combat.final(att lvl, def lvl, str lvl, hp lvl, pray lvl, range lvl, mage lvl)
- Returns the combat level based on the netered stats (if no stats is available, leave field empty for prefixed lvl 1)
? $combat.final(30, 40, 21, 35, 27, 44, 19)
? Returns: 43.45
$f2u(text)
- Returns a skill name based on regex matches on the entered text
? $f2u(str)
* Returns: Strength
$cntn(color name)
- Returns double digit color code based on color name
? $cntn(purple)
* Returns: 06