shawnbot

syntax:
./core <file.ini>

default.ini will be used if a file is not specified.

Fill out the default.ini file which you can put your name, the server, port, modules, etc.  If you want bot sysops, mods have the access module in the modules setting.


Writing Modules:

cd ./modules
cp sample.pm mymod.pm

In mymod.pm, change the line:
package sample;
to
package mymod

In your ./settings/FILE.ini file:
if your modules line looks like this:
modules=access

then make it:
modules=access,mymod

Make sure you do NOT add any spaces, for example:
'modules=access, mymod' WILL NOT work


You can get a list of C2S functions in ./docs.

That is all for writing modules.


Notes:
!addsysop <player> will not work if <player> has a space in it.  Edit ./etc/sysops.txt to add a player.


Report bugs to mugsy@metawire.org.
