Difference between revisions of "BCDC"

From twofo wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
*  [http://www.twofo.co.uk/resources/bcdc-scripts/action.rar action.lua] is a script that converts /me and +me to the traditional IRC action form, on the client side. Only confirmed to work on NMDC type hubs (i.e. Twofo) but all current versions of DC++
*  [http://www.twofo.co.uk/resources/bcdc-scripts/action.rar action.lua] is a script that converts /me and +me to the traditional IRC action form, on the client side. Only confirmed to work on NMDC type hubs (i.e. Twofo) but all current versions of DC++
* [http://www.twofo.co.uk/resources/bcdc-scripts/debug2.rar debug.lua] is a script that checks messages you send for trigger words (that you define) and substitutes them with whatever you map them to. After loading the script just type "/help" into chat, and you should see an explanation. Can map words to whole sentences currently.
* [http://www.twofo.co.uk/resources/bcdc-scripts/debug2.rar debug.lua] is a script that checks messages you send for trigger words (that you define) and substitutes them with whatever you map them to. After loading the script just type "/help" into chat, and you should see an explanation. Can map words to whole sentences currently.
* [http://www.twofo.co.uk/resources/bcdc-scripts/bsplayer.rar bsplayer.lua] spams now playing in BS player with a little assistance from the BStoTxt plugin. Need to configure BStoTxt to dump BStoTxt_out.txt into the BCDC scripts folder. Type /bs to spam :P.
* [http://www.twofo.co.uk/resources/bcdc-scripts/bsplayer.rar bsplayer.lua] spams now playing in BS player with a little assistance from the [http://www.twofo.co.uk/resources/bcdc-scripts/BStoTxt.rar BStoTxt plugin]. Need to configure BStoTxt to dump BStoTxt_out.txt into the BCDC scripts folder. Type /bs to spam :P.
* [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting.rar formatting.lua] edited by monke so that you can assign specific nicks specific colours. (It also allows you to have / characters in your timestamp, if you care :P). Just type /help and you should see what commands to use, and /color will list the available preset colours. You can define more preset colours by adding a line like so: formatting.color_conversion.emerald = {0,255,0} to formatting.lua, where the numbers represent RGB values. Confirmed to work for .698 client, but not any versions above 0.700. A version confirmed to work on BCDC++ v0.674 can be found [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting-674.rar here]
* [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting.rar formatting.lua] edited by monke so that you can assign specific nicks specific colours. (It also allows you to have / characters in your timestamp, if you care :P). Just type /help and you should see what commands to use, and /color will list the available preset colours. You can define more preset colours by adding a line like so: formatting.color_conversion.emerald = {0,255,0} to formatting.lua, where the numbers represent RGB values. Confirmed to work for .698 client, but not any versions above 0.700. A version confirmed to work on BCDC++ v0.674 can be found [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting-674.rar here]



Revision as of 20:44, 16 August 2009

Scripts for BCDC++

To load up any of these scripts into BCDC, the lua file must in the the scripts folder. Then type /luafile file.lua to load it. If you want to autoload the script, append the following to the end of startup.lua in the scripts folder:

dofile( DC():GetAppPath() .. "/scripts/script.lua" )


  • action.lua is a script that converts /me and +me to the traditional IRC action form, on the client side. Only confirmed to work on NMDC type hubs (i.e. Twofo) but all current versions of DC++
  • debug.lua is a script that checks messages you send for trigger words (that you define) and substitutes them with whatever you map them to. After loading the script just type "/help" into chat, and you should see an explanation. Can map words to whole sentences currently.
  • bsplayer.lua spams now playing in BS player with a little assistance from the BStoTxt plugin. Need to configure BStoTxt to dump BStoTxt_out.txt into the BCDC scripts folder. Type /bs to spam :P.
  • formatting.lua edited by monke so that you can assign specific nicks specific colours. (It also allows you to have / characters in your timestamp, if you care :P). Just type /help and you should see what commands to use, and /color will list the available preset colours. You can define more preset colours by adding a line like so: formatting.color_conversion.emerald = {0,255,0} to formatting.lua, where the numbers represent RGB values. Confirmed to work for .698 client, but not any versions above 0.700. A version confirmed to work on BCDC++ v0.674 can be found here


  • vlc.lua is a script to spam out the now playing track on VLC media player. Extract both vlc.lua and wget.exe to the scripts folder of BCDC++, and requires the Web Interface part of VLC to be enabled. This version will work with v0.699 of BCDC, for a version that works with 0.674 go here. To enable the web interface in VLC:
    • Go to Tools -> Preferences
    • Section 'All Settings' at the bottom
    • Finally go to Interfaces -> Main Interfaces and tick the option for HTTP Remote Control Interface
  • mplayer.lua gets around the issue of the inbuilt /mplayerc command not working on Windows Vista and above. Based on the same idea as the vlc.lua script, so again includes wget.exe as well as the lua file, both of which need extracting to the scripts folder of BCDC. Type /mplayer to spam. Only confirmed to work on 0.699 of BCDC for now. To enable the web interface in Media Player Classic:
    • Go to View -> Options -> Web Interface
    • Tick the box for "Listen on Port" ensuring the box reads as 13579