This is a mirror from this location
What? to top
Why? to top
How? (licence) to top
This is free software and as any free software is provided as-is. Author will not be responsible for anything 'negative' this software may cause. If you use, redistribute or modify it you declare that you have read, understood and accepted this licence agreement ("How?" section).
xcdscript is free and open source. There are no restrictions. I.e. it uses "bobef license" which is: use without restrictions at your own risk.
Notes to top
This is the Win32 version. I don't have linux currently but the source doesn't contain any windoze specific code (except WinMain), so it shouldn't be a problem to compile it for linux. It is tested on X-Chat 2.4.5-2 compiled by Silverex
Extract the dll into X-Chat's plugin-s directory to load automatically or load it manually.
When the plugin is loaded it registers 4 commands - /XDS_LOAD "C:\myscript.ds" - loads myscript.ds and executes xchat_plugin_init(). /XDS_UNLOAD "C:\myscript.ds" unloads myscript.ds (if it is already loaded) and executes xchat_plugin_deinit(), also removes all hooks for this scripts./XDS_LIST will list all loaded scripts./XDS_APPEND "C:\myscript.ds" will append myscript.ds to the end of xcdscript.txt. xcdscript.txt lays in /home/user/.xchat2 for Linux or C:\Documents and Settings\yourusername\Application Data\X-Chat 2 for Silverex's version. You can edit the file manually. Each line is treated as path to script to be automatically loaded.
For more information go to here
and look at the test script in downloads.
- xchat_hook_command("COMMAND",priority,"callback_name","help text")
- xchat_emit_print("TEXT EVENT",parameter1,...) - takes up to 32 parameters
- xchat_find_context("SERVER","CHANNEL") - both parameters may be null or undefined
- xchat_strip("TEXT",what_to_strip) - what_to_strip 1 - colours, 2 - bold etc, 3 - all
- xchat_list_get("LIST") - returns array with objects with properties named after the ones at og docs
Download to top
xcdscript_10rc1_bin.zip - the plugin binary; 192 Kb.
xcdscript_10rc1_src.zip - the plugin source; 8 Kb.
test_ds.zip - a small script used during testing the plugin; <1 Kb.
Hosted by marla.ludost.net