Miranda Scripting Plugin (mbot) 2012
Nice wiki: http://www.mbot.ovh.org/doku.php?id=home
# Contents
1. About
2. EULA
3. Contact me
4. Required Components
5. Usage
6. Changelog
#1. About
MSP (mBot) is a multi-purpose plugin providing PHP scripting in Miranda-IM.
It lets you write your own very customized scripts as well as use the ones which have been written by others.
MSP has many built in Miranda specific functions like sending/receiving messages, file transferring, contacts management, etc.
In addition to that there is a task scheduler (with cron syntax) and a simple web server embedded in the application; All that makes MSP a very powerful tool with many applications!
This program uses PHP library (php*ts.dll) and customized Miranda IM IRC plugin (available in this pack).
Project author Piotr Paschlutszuk stopped mbot developing in 2008 (left to Linux platform).
Now mbot supports Unicode version of Miranda IM
This package also contains PHP scripts:
Contact advanced ignore
Custom AutoReplier
Contact status check
CSS Server status check
GisMeteo meteo info
iRC HTML Log
MyIP Info
#2. EULA
MBot ("the program") is provided as-is without any stated or implied warranty.
By installing, copying, or otherwise using this program or its components, you
agree to be bound by the terms, conditions, and the spirit of this agreement.
If you do not agree, discontinue the use of the application and remove it from
your computer or network. Neither the author, nor any contributors of this
program are responsible for any direct or consequential damages arising from
the use of this program or sceneries produced in whole or in part by this program.
Your copy of the program was distributed with the freeware license.
As freeware you are permitted to distribute this archive subject to the following conditions:
- The archive must be distributed without modification to the contents of the archive;
- Redistributing this archive with any files added, removed or modified is prohibited without the permission of the author;
- The inclusion of any individual file from this archive in another archive is prohibited without permission from the author;
- No charge may be made for this archive;
- The authors' rights and wishes concerning this archive must be respected;
- If you have paid a fee for this archive or any derivative of this archive, please contact the author!
- If you haven't downloaded this library at www.piopawlu.net please visit my page in order to let me know how many people are using this lib;
#3. Contact Me
Skurat Denis (a.k.a. Dionys)
eml : skiner@inbox.ru
www : http://sourceforge.net/p/msp-mbot-2012
#4. Required components
Everything you need to use MBot is php5 library, which is not enclosed due to its size.
I'll provide a tiny version of php5ts.dll in this package.
For IRC scripting support need customized IRC plugin irc.dll. Also include in this package.
#5. Usage
First of all you have to install mbot with customized irc plugin (if need):
unpack mbot pack to Miranda IM folder (if you use unicode version Miranda IM, unpack mbot_uni.rar,
else if you use ansi version Miranda IM, unpack mbot_ansi.rar).
Next if you want support IRC scripting, check Scripting support checkbox in the IRC configs.
Next install a script:
unpack mbot_php_scripts.rar to Miranda IM folder or copy custom scripts to /mbot/scripts/autoload directory.
You also install a script without restart:
you should drag and drop the file into the CommandBox of MBot Console;
Now, depending if the script includes a command or a service, you'll see the results or you'll have
to use COMMAND TAG and the command to execute it; Default command tag is "m>", and a script tag is "?>";
#6. Changelog /yyyy.mm.dd [version]/
2012.10.01 [1.0.1.2]
- Miranda IM unicode support!
- HTTPD major bugs fixed
- memory allocation major bugs fixed
- mt_setvar: available memory for array increased to 2048
- MBot Console: some minor bugs fixed
2006.08.05
- linked against latest php binaries (5.1.4)
- some minor bugs fixed
- no more junk file left on e:/ drive (shame on me, I left some debug code inside)
2005.05.23
- printing vars fixed
- IRC modules listed properly
2005.05.20
- quite a few new functions;
- script managment functions;
- new thread resource manager;
- no more 'you must not call php...' message;
- multidimensional, mixed, associative arrays support in mt_set/get var;
- array indexes are no longer broken (when using $keep_idx option for mt_setvar($name,$val,$create,$keep_idx));
- console window fixed;
- many minor changes;
- new constant MBOT_TIMESTAMP;
- IRC support;
- possibility of adding root menu items;
- possibility of calling php services from php;
- standard input dialog is now centered by default;
- mb_SelfSetInfo($desc); //sets script description, must NOT be used before mb_SelfRegister!
- new event MB_EVENT_CONFIG mbe_config(){}; a functon called from the mbot's config page;
- etc;
2005.03.29
- mb_SysCallProc function fixed;
2005.03.26
- HTTPD: POST finally fixed, max post length increased to 4 MB
- ASUS ATKACPI (eMail LED) support;
- PHP: File uploads enabled by default;
2005.03.23
- HTTPD: AUTH error fixed;
- some minor bugs fixed;
- a few new functions;
- WM_TIMER support for dialogs;
2005.03.05
- File transfers in/out
- Combo box support
- Generic input box - mb_DlgGetString(...);
- HTTPD: recursive access level configuration
- Many bugs has been fixed;
- WM_COMMAND, WM_NOTIFY callbacks* (optional);
- HTTPD: $_SERVER variables now work correctly;
- HTTPD: getenv(..); function fixed;
- etc;
2005.01.10
- mb_SysBeginThread, mb_SelfEnable, and a few other functions;
- httpd authorization error fixed;
2004.12.29
- mb_MenuAdd function fixed
- quite a few new functions added, (hooking events, creating services, calling WINAPI, etc);
- some bugs has been fixed
- ability of calling services which take structures as parameters (for advanced users)
- etc;
2004.12.15
- httpd 'no output' bug fixed;
- new functions mb_SysCallService, mb_SysCallProtoService, mb_SysCallContactService;
- mt_getvar function fixed;
- mt_delvar function fixed;
- a few different bugs fixed, and probably introduced :-)
2004.12.12
- dialog boxes
- some bugs has been fixed
2004.12.11
- scheduler parser fixed
- http file sending fixed
2004.12.10
- a few bugs fixed
- a few new functions (pls refer to the manual)
- mb_SchReg no longer takes $script as a param!
- new event (MB_EVENT_FILE_IN)
- etc;
2004.12.09
- 100% CPU Load fixed;
- new param $uin for the mbe_AwayMsgICQ event;
2004.12.08
- dynamic script registration;
- re-caching scripts on runtime;
- new script manager;
- new MIME system for the httpd;
2004.12.07
- some bugs has been fixed
- new functions
- !!! new function names !!!
2004.12.06
- built in simple httpd deamon (just GET/POST commands, yet it supports php ;])
- another few bugs fixed, hopefully not too many introduced;
2004.12.05
- new events
- popups with callbacks
- menu items with callbacks
- clist events with callbacks
- new functions (mb_GetCAwayMsg, mb_PUAddPopupEx, mb_EnumProtocols, mb_MenuAdd, etc)
- several bug fixed
- msvcr71.dll is no longer necessary (linked against msvcr70)
- new bugs ;-)
2004.11.28
- new events
- task scheduling
- new functions
- chm help with examples
- drag & drop script installing
- bug fixes
2004.11.21
- new events (command,startup,shutdown)
- new functions
- bug fixes
2004.11.17
- new functions (events/status/awaymsg/etc;)
- file caching
- new events
- some bugs fixed
2004.11.14
- new functions
- new events
- msg_in,msg_out script corrected
- some bug fixes
- some new features
- handlers registering
2004.11.13
- built in libphp
2004.11.12
- new functions
- new features
2004.11.11
- initial release
© 2004-06 Piotr Pawluczuk
© 2012 Skurat Denis (a.k.a. Dionys)
Donate(WebMoney): R105354986113