!load module

Back to Module Development

Page: 1  
From User Message Body
hery
Post #804
Member
Date: 2:50 pm, Sep 12 2008
Posts: 15


Hello,

Thanks for this PHP-IRC. I already like it. I've used Smart-Irc (in PEAR) before and I see that with the new Action hook, PHP-IRC is now better.

Now my question.

Is it possible to load a module on run-time? Without killing the bot? (or any module is already done about it?)

I suppose I have many modules but only few are loaded at start-up.

Then I would just !load news to load the news module.

Thanks

Mad_Clog
Post #805
user avatar
Member
Date: 5:00 pm, Sep 12 2008
Posts: 176


iirc you don't have to kill the bot to load additional modules.
just add them to the proper files and do a 'reloadfunc' or 'restart' (which doesn't actually kill the bot) command.

hery
Post #806
Member
Date: 6:21 am, Sep 13 2008
Posts: 15


Thanx for your reply.

Where would I write that?

In DCC?

Mad_Clog
Post #807
user avatar
Member
Date: 3:22 pm, Sep 13 2008
Posts: 176


basic admin commands
so either in a dcc session with the bot or '/msg <bot> admin <pass> <command>'

This should all be stated in the readme

hery
Post #808
Member
Date: 11:15 pm, Sep 13 2008
Posts: 15


Thank you... Now I see it in readme.



   

Back to Module Development