
When coding an add-on or Making an addon complient with CIRCC script you must remember the following Rules.
Script ini settings need to go into the settings.ini file using the add-on name as the main identifier
Files should be placed into the settings folder.
The addon its self should go into the Modules folder.
; _______________________________________________
;|
;| CHRISTIAN ~IRC~
CONNECTION
SCRIPT
;|_______________________________________________
;|
;| Version:
##
;| Author: Your Name
;| File Name: file.mrc
;| E-mail:
your-email-address
;| URL: www.your-url-goes-here.
;|
Copyright: 2006 Jan 01 -
Present
;|_______________________________________________
;|
;| Please
do not modify the source code below
;| Doing so may cause the script to
become unstable
;|_______________________________________________
In your On load event be sure to have the following two lines.
On *:LOAD: {
/writeini
$mircdirModules\Modules.ini <Module Name> Info Information about
addon.
/writeini $mircdirModules\Modules.ini <Module
Name> Dir $script
}
On *:UNLOAD: {
/remini
$mircdirModules\Modules.ini <Module Name>
}
On *:LOAD: {
if ($isalias(bibleset) == $false)
{ unload -rs $script | echo -a ERROR: This addon Requires The Bible Tools be
installed. }
else {
/writeini
$mircdirModules\Modules.ini BibleSearch Info Bible Search adds the ability to
search the bible for a word or phrase.
/writeini
$mircdirModules\Modules.ini BibleSearch Dir $script
}
}
On *:UNLOAD: {
/remini
$mircdirModules\Modules.ini BibleSearch
}
Load Add-ons using the Control panel /Cp add ons Load