Events list, is there any? |
Events list, is there any? |
tobee |
Oct 9 2008, 12:43 PM
Post
#1
|
Newbie Group: Members Posts: 3 Joined: 9-October 08 Member No.: 609 |
As the title says. Can anyone point me a link or some sort of info about events that amip generates?
To be more specific I want to finish amip mbot script that will change away msg to currently played song. Thanks Lucas edit: found those in java files public static final int AC_EVT_PLAY = 0x0001; public static final int AC_EVT_START = 0x0008; public static final int AC_EVT_CHANGE = 0x0080; public static final int AC_EVT_PLCHANGE = 0x0100; public static final int AC_EVT_PLREADY = 0x0200; can you please tell me meaning of those? not sure which one will be the proper one for my script |
tobee |
Oct 9 2008, 01:27 PM
Post
#2
|
Newbie Group: Members Posts: 3 Joined: 9-October 08 Member No.: 609 |
nvm found amip with mbot integrated install:
amip_mirandaim.zip Miranda IM (automatic installer) in downloads If anyone ever needs to use it with different protocols in miranda just add that protocol to the list in amip.php CODE // away message settings $enabled['YAHOO'] = false; $enabled['GG'] = true; $enabled['MSN'] = false; $status['YAHOO'] = 'Currently playing: %name'; $status['GG'] = 'Currently playing: %name'; $status['MSN'] = '(8) %name'; $nostatus['YAHOO'] = ''; $nostatus['GG'] = ''; $nostatus['MSN'] = ''; I think that should work for most if not all the protocols You can enumerate them from mbot console by pasting this script CODE ?>$protocols=mb_SysEnumProtocols(); $echo=print_r($protocols, TRUE); mb_echo($echo); thanks for a nice plugins Sir! Lucas |