IPB

Welcome Guest ( Log In | Register )

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 
Closed TopicStart new topic
> Plugin Authors, Please note; (CCX)
Snap
post Mar 7 2009, 02:50 AM
Post #1


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



Plugin Authors:
I just finished some documentation regarding Add-On support for the CCX plugin.
http://snapnjacks.com/CCXDoc.php#AddOn
I explain the 3 main features to interact with CCX.

Registering a function.
Using the RunCC Sub.
Using the CCX Parser.

Using the CCX Parser can make your plugin a lot more customizable to users.
For example, if you have some message that uses variables that can be modified in a settings file (Like BCP, SnapNJacks, AGP{When it comes out}) you could use the CCX Parser to allow them tons more options and flexibility.
Don't worry about the complexity - as it's only as complex as the user wants it to be - and the documentation to CCX code is going to be heavy.

For example;
If I implemented ccx.parsefunctions in SnapNJacks QFormat (Something almost everyone uses)
A Normal QFormat entry is something like: "%id (%ct) %vl: %q"
With CCX Parsing the user could do %ucase(%q) to make the entire question uppercase. Or use %if, %var and %rand functions to do random/dynamic things. - They could even do something like:
"Question: %q %setvar(CurrentQ,%q)"
And add a CC: !addcc CurrentQuestion 20 Current Trivia Question: %var(CurrentQ)
!CurrentQuestion - and the bot repeats the current question.

CCX can bind together all the plugins and custom commands a StealthBot user uses, creating a personalized feel and allowing impressive ingenuity. - Graying the line between Plugins and Custom Commands - linking one plugin to another in a simple/powerful - open to the general stealthbot user environment.
This is CCX's goal.

It's really, really cool - and I hope you consider interfacing with CCX with your future plugins and updates to your plugins. - I do.

If you have any questions or suggestions about interacting with the CCX plugin, please post here.

P.S. CCX isn't very popular right now* - but in 2.7 it will be replacing the Custom Command system - interacting with this plugin will not be waisted. (There was a plan to include CCX with the 2.7 Installation - not sure if that's still the case - but any user that uses custom commands will need this plugin)

*(That is if you call 1,300 people using it not very popular ohmy.gif)

This post has been edited by Snap: Mar 9 2009, 10:55 PM


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
PhiX
post Mar 7 2009, 06:25 AM
Post #2


Notice the ownage.
********

Group: Global Moderators
Posts: 10,862
Joined: 15-January 07
From: GeRmAnY (GMT +1:00)
Member No.: 16,204



QUOTE(Snap @ Mar 7 2009, 09:50 AM) *
P.S. CCX isn't very popular right now* - but in 2.7 it will be replacing the Custom Command system - interacting with this plugin will not be waisted. (There was a plan to include CCX with the 2.7 Installation - not sure if that's still the case - but any user that uses custom commands will need this plugin)
All v2.6R3 features, that have been replaced by plugins in the new version, will be installed with the bot.


--------------------
PhiX
--------------------
I do not provide support via PM or IM, please use the forums.
SBs Help Tool - Please only double click my name if I told you to do so.
--------------------

Whore of Clan BoT

JBLS: phix.no-ip.org (click for stats) IPB Image
--------------------
QUOTE(Clan BoT)
[20:33:50.063] <[email protected]> I'm not showing any respect to a bunch of script kiddie faggots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th November 2019 - 08:06 PM
Skin by Andrea
Website Legal Information | Hosted by LunarPages