Help - Search - Members - Calendar
Full Version: --ViRaL--'s CCX Help Section--
StealthBot.net > StealthBot > Scripting and Plugins > Plugin Projects > Custom Command Xystem (CCX)
ViRaL
Welcome to ViRaL's CCX Help Section
(Wants CCX to be more popular)
ViRaL-Wants to help snap so, since SnaP is only 1 person, and viral is doing alot of work with CCX lately, he has decided to help SnaP, (The Audience Cheers)

I will take requests, for custom command strings, If you post something in the script creation requests forum, try posting it here also. Sometimes things can be done without having to put it in a plugin, for example---

My First CCX Request==Formal Invitation Script/Plugin (Orignally I Wanted a script/plugin to do this)
Then--SnaP made this for me== This Changed my point of view on scripting all together

QUOTE


==Formal Invitation CCX String==
====Thought of by: ViRaL=====
=====Created by: SnaP======


!addcc invite 80 %if(%inlist(Invited,%1),,%die( %1 has alraedy been invited))%listadd(Invited, %1)
!appendcc invite & /w %1 You have recieved an invitation to join PlaNeT-IV
!appendcc invite & /w %1 To hear more about this invitation reply to this message with !Accept, to decline reply !Decline.
!appendcc invite & /w %1 One of our members has seen fit to send you an invitation. To tryout for the clan please reply to this with !Tryout,
!appendcc invite & /w %1 and you will be added to a list of Potential Members. You will receive a message from one of our players momentarily.

!addcc accept 0 %if(%inlist(Invited,%user),,%die(You haven't been invited!))Thank you! someone will be with you shortly& %user accepted an invitation.
!appendcc invite %listadd(Accepted,%user)%listdel(Invited,%inlist(Invited,%user))

!addcc decline 0 %if(%inlist(Invited,%user),,%die(You haven't been invited!))Thank you for your time.%listdel(Invited,%inlist(Invited,%user))

!addcc tryout 0 %if(%inlist(Tryouts,%user),%die(You are already on the list))%if(%inlist(Invited,%user),%listadd(Accepted,%user)%listdel(Invited,%inlist(Invited,%user))Thank you for accepting. )
!appendcc tryout A member will message you soon. %listadd(Tryouts,%user)

!addcc tryouts 40 Users who want to tryout: %listout(Tryouts)
!addcc accepted 40 Users accepted invitation: %listout(Accepted)
!addcc invited 40 Users invited: %listout(Invited)

!addcc deltryouts 90 Deleted: %listitem(Tryouts,%1)%listdel(Tryouts,%1)
!addcc delaccepted 90 Deleted: %listitem(Accepted,%1)%listdel(Tryouts,%1)
!addcc delinvited 90 Deleted: %listitem(Invited,%1)%listdel(Tryouts,%1)

!addcc clearinvited 90 Invited list has been cleared.%listclear(Invited)
!addcc cleartryouts 90 Tryout list has been cleared.%listclear(Tryouts)
!addcc clearaccepted 90 Accepted list has been cleared.%listclear(Accepted)



==Functions of this CCX String==

**-Manages clan invitations- Sends freindly clan invitations
**-Allows you to invite a user formally- Gives them a choice to decline or accept (Highlighted Red)
**-Prepares the user for a tryout- They can add their name to a list of peeps that want to tryout-
**-Deals with anger- If they decline, they get removed from the invited list- (Instead of shitlisted hehe)
7thAce
Just to help you improve:
  • How do you use it? I know, but for someone new, how would they know?
  • Don't post in multicolors like that. It's distracting and sometimes hard to read. Same with centering the text.
  • What are the commands for this?
  • Are you "helping" in your help section or posting scripts?
Good idea, we need some people good with CCX other than Snap.
ViRaL
QUOTE(7thAce @ Apr 26 2009, 10:06 AM) *

Just to help you improve:
  • How do you use it? I know, but for someone new, how would they know?
  • Don't post in multicolors like that. It's distracting and sometimes hard to read. Same with centering the text.
  • What are the commands for this?
  • Are you "helping" in your help section or posting scripts?
Good idea, we need some people good with CCX other than Snap.


How do you use the Help Section? Or how do you use ccx?
Ill get rid of the multi colors. I prefer it centered tho with certain info. The colors helps me sort it out i geuss, that may just be me. Its like highlighting notes.

What do you mean by what are the commands for this?

I am "Helping" in my help section.
Though I will post strings that i help people create for other user's reference.
MusicDemon
QUOTE(ViRaL @ Apr 26 2009, 07:48 PM) *

What do you mean by what are the commands for this?

Add/remove/edit commands.

QUOTE(ViRaL @ Apr 26 2009, 07:48 PM) *

I am "Helping" in my help section.

Off-Topic: You don't have an own section...

QUOTE(ViRaL @ Apr 26 2009, 07:48 PM) *

Though I will post strings that i help people create for other user's reference.

You create strings for people who know people who need that string?
ViRaL

name='ViRaL' post='329246' date='Apr 26 2009, 07:48 PM']
Though I will post strings that i help people create for other user's reference.

You create strings for people who know people who need that string?



QUOTE(7thAce @ Apr 26 2009, 10:06 AM)

Just to help you improve:
How do you use it? I know, but for someone new, how would they know?
Don't post in multicolors like that. It's distracting and sometimes hard to read. Same with centering the text.
What are the commands for this?
Are you "helping" in your help section or posting scripts?
Good idea, we need some people good with CCX other than Snap.


He said "Or just posting scripts"
I am helping in my section, and in order to help, i will be posting any strings that i complete, IN ORDER TO BENEFIT OTHER USER's.

Commands for CCX Are-


===/listcc:
Lists out all commands that the user has access to use.

===/findcc [Part of command name]:
Finds all commands with the search string supplied.
Example: !findcc news
Response: Matching commands (that you can use): addnews, delnews, news

===/addcc [Name] [Access/Flags(optional)] [Command Response]
View Examples

===/delcc [Name]
Deletes the command.

===/editcc [Name] [New Response]
Example: !editcc MyCmd New Response

===/appendcc [Name] [Data added at the end of Command]
Appends the command.
Example: !appendcc MyCmd Additional text.
Command now contains 'Response Additional text'

===/renamecc [Name] [New Name]
Renames the command.

===/showcc [Name]
Returns the command response of chosen command.

===/testcc [CCX Code]
Tests CCX-Function-Only code. - Used for experimentation.
Example: !testcc %if(1=2,True,False)

===/reloadcc
Reloads custom commands from text file.

===/setcc [Name] [NewAccess/NewFlags(Optional)]
Sets command access for
Example: !setcc MyCmd 50

===/clipcc [Name]
Puts the command on the bot-owners clipboard- useful for re-writing or modifying a command.

===/sortcc
Sorts the commands file - so commands will be listed alphabetically in commands like !listcc and !findcc
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.