Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [b][color=red]AS OF THE CURRENT STANDING OF THIS PROGRAM. IT IS NOT READY FOR PUBLIC USE OR ANY WHERE NEAR IT. THIS IS JUST FOR PERSONAL REFERENCE AND FUTURE REFERENCE FOR BETA/ALPHA TESTERS AS WELL AS ANY OTHER USERS THAT USE THIS PROGRAM[/color][/b]
- This will be continuously modified to any changes I make with in the program and api them self.
- [b]Last Update:[/b] [i]4-22-2015 12:29PM[/i]
- [b][u]API Functions (I think that is a good name for this section?)[/u][/b]
- Video Explanation: [Link]
- Introduction [color=red]- Updated (I overhauled the layout of this to fit the new coding system.)[/color]
- [hr]
- [spoiler=use]
- [u]Description[/u]
- [i]This declares what type of plugin this will be and what it will be used for.[/i]
- [u]Uses[/u]
- [b]use("[/b]scriptwizard[b]")[/b] [i]- This will tell the plugin that this is a Script Wizard[/i]
- [b]use("[/b]key[b]")[/b] [i]- This will tell the plugin that this is a Modification/Addition/Removal to Keys[/i]
- [b]use("[/b]cmd[b]")[/b] [i]- This will tell the plugin that this is a Modification/Addition/Removal to Commands[/i]
- [b]use("[/b]automessageexec[b]")[/b] [i]- This will be used to tell the plugin you are calling actions for the Auto Exec Message Editor[/i]
- [/spoiler]
- [spoiler=type]
- [u]Description[/u]
- [i]This declares what type of Script Wizard you are creating.[/i]
- [u]Uses[/u] [color=red]- Updated[/color] (Type took a major overhaul coding wise)
- [b]type("[/b]list[b]")[/b] [i]- This tells the plugin you are creating a list and not just a toggle script.[/i]
- [b]type("[/b]press[b]")[/b] [i]- This tells the plugin you are creating a script that detects button press on button press and release.[/i]
- [b]type("[/b]reg[b]")[/b] [i]- This is just a plugin which is used to generate a basic bind such as bind {key} action.[/i]
- [b]type("[/b]toggle[b]")[/b] [i]- This is just a plugin which is used to generate a toggle script.[/i]
- [/spoiler]
- [spoiler=name]
- [u]Description[/u]
- [i]This is used to set the name of your script.[/i]
- [u]Uses[/u]
- [b]name("[/b]Name of the plugin[b]")[/b] [i]- This is as simple as it appears. You are just naming the plugin you are creating[/i]
- [/spoiler]
- [spoiler=description]
- [u]Description[/u]
- [i]This is a basic description of what your plugin does.[/i]
- [u]Uses[/u]
- [b]description("[/b]the description of my plugin![b]")[/b] [i]- Just a way to describe your plugin.[/i]
- [/spoiler]
- [spoiler=furtherInfo]
- [u]Description[/u]
- [i]This will be used to tell the user any further information they may need to know about this script.[/i]
- [u]Uses[/u]
- [b]futrtherInfo("[/b]A general idea of why my plugin is about. What it does. How it works.[b]")[/b] [i]- Further description about the plugin.[/i]
- [/spoiler]
- [spoiler=listLength]
- [u]Description[/u]
- [i]If you are using a list as a script type this will determine how long the list is. 0 is unlimited and thing above 0 defines how long the list will be.[/i]
- [u]Uses[/u]
- [b]listLength([/b]#[b])[/b] [i]- Defines how long a list will be.[/i]
- [/spoiler]
- Keys [color=red]- NEW (I decided now would be a good time to start adding the code that will trigger actual physical actions.)[/color]
- [hr]
- [spoiler=getKey]
- [u]Description[/u]
- [i]This is used to call a action from the user to get the key they would like to use for the bind they are creating.[/i]
- [u]Uses[/u]
- [b]getKey()[/b] [i]- Requests a key from the user.[/i]
- [/spoiler]
- [spoiler=getName]
- [u]Description[/u]
- [i]This is used to get a name with no spaces from the user for the script creation for this plugin. This is not always necessary for all plugins.[/i]
- [u]Uses[/u]
- [b]getName()[/b] [i]- Requests a script name from the user.[/i]
- [/spoiler]
- [spoiler=setKey]
- [u]Description[/u]
- [i]Instead of asking the user to provide a key for the script. You will force the key and the users will have no choice but to use it.[/i]
- [u]Uses[/u]
- [b]setKey()[/b] [i]- Forces a key for the script.[/i]
- [/spoiler]
- [spoiler=setName]
- [u]Description[/u]
- [i]Instead of asking the user to provide a name for the script. You will for the name and the user will have no choice but to use it.[/i]
- [u]Uses[/u]
- [b]setName()[/b] [i]- Forces a name for the script.[/i]
- [/spoiler]
- Input [color=red]- NEW (I decided now would be a good time to start adding the code that will trigger actual physical actions.)[/color]
- [hr]
- [spoiler=startRepeat]
- [u]Description[/u]
- [i]This allows you to easily repeat code using startRepeat and endRepeat.[/i]
- [u]Uses[/u]
- [b]startRepeat(#)[/b] [i]- Determine when to start the repeat cycle. As well as the amount of times to repeat[/i]
- [/spoiler]
- [spoiler=endRepeat]
- [u]Description[/u]
- [i]This allows you to easily repeat code using startRepeat and endRepeat.[/i]
- [u]Uses[/u]
- [b]endRepeat()[/b] [i]- Determine the code which is repeated.[/i]
- [/spoiler]
- [spoiler=getInput]
- [u]Description[/u]
- [i]Allows users to choose what they want to add into their script you are creting.[/i]
- [u]Uses[/u]
- [b]getInput(#, "Text Here")[/b] [i]- Gets simple text from users for said script.[/i]
- [/spoiler]
- [spoiler=setInput]
- [u]Description[/u]
- [i]Instead of asking the user to provide a name for the script. You will for the name and the user will have no choice but to use it.[/i]
- [u]Uses[/u]
- [b]setInput(#, "You input")[/b] [i]- Forces a name for the script.[/i]
- [/spoiler]
- Finish [color=red]- NEW (I decided now would be a good time to start adding the code that will trigger actual physical actions.)[/color]
- [hr]
- [spoiler=setOutput]
- [u]Description[/u]
- [i]This is used to take all information that was gathered and set as a output. This will then turn into a script.[/i]
- [u]Uses[/u]
- [b]setOutput("Output text")[/b] [i]- Basically determines how each line of the script will look.[/i]
- [/spoiler]
- [hr]
- [b][u]API Script Wizards[/u][/b]
- Video Explanation: [Link]
- [b]Functions[/b]
- [hr]
- [spoiler=Introduction]
- Introduction() {
- }
- [/spoiler]
- [spoiler=Keys]
- Keys() {
- }
- [/spoiler]
- [spoiler=Input]
- Input() {
- }
- [/spoiler]
- [spoiler=Finish]
- Finish() {
- }
- [/spoiler]
- [spoiler=Example: Introduction]
- Introduction() {
- use("scriptwizard")
- type("list")
- listLength("0")
- name("Send Chat message and Console Message.")
- description("Just another test plugin. You know how it is.")
- furtherInfo("nothing much really its just a example plugin. What do you expect from me!")
- }
- [/spoiler]
- [spoiler=Example: Keys]
- Keys() {
- getKey()
- getName()
- }
- [/spoiler]
- [spoiler=Example: Input]
- Input() {
- startRepeat(1)
- getInput(0, "Set message you want to send in main chat")
- getInput(1, "Set message you want to send to console")
- endRepeat()
- }
- [/spoiler]
- [spoiler=Example: Finish]
- Finish() {
- setOutput("say %(0); echo %(1)")
- }
- [/spoiler]
- [b][u]API Keys[/u][/b]
- Video Explanation: [Link]
- [b][u]API Commands[/u][/b]
- Video Explanation: [Link]
- [hr]
- [b][u]Script Wizard Plugin Requirements[/u][/b]
- Video Explanation: [Link]
- [b][u]Key Plugin Requirements[/u][/b]
- Video Explanation: [Link]
- [b][u]Command Plugin Requirements[/u][/b]
- Video Explanation: [Link]
- [hr]
- [b][u]Script Wizard Basic Example[/u][/b] [color=red]- Updated[/color] (list unlimited example)
- Video Explanation: [Link]
- [spoiler=list]
- [spoiler=Unlimited]
- [code]
- use("scriptwizard")
- type("list")
- listLength(0)
- name("Send Chat message and Console Message.")
- description(Just another test plugin. You know how it is.")
- furtherInfo("nothing much really its just a example plugin. What do you expect from me!")
- getKey()
- getName()
- totalLines(0)
- getInput(0, "Set message you want to send in main chat")
- getInput(1, "Set message you want to send to console")
- setOutput("say %(0); echo %(1)")
- [/code]
- [/spoiler]
- [spoiler=Limited]
- [/spoiler]
- [/spoiler]
- [spoiler=press]
- [/spoiler]
- [spoiler=reg]
- [/spoiler]
- [spoiler=toggle]
- [/spoiler]
- [b][u]Keys Basic Example[/u][/b]
- Video Explanation: [Link]
- [spoiler=Example]
- [/spoiler]
- [b][u]Commands Basic Example[/u][/b]
- Video Explanation: [Link]
- [spoiler=Example]
- [/spoiler]
- [hr]
- [spoiler=Previous Versions of this thread]
- v0.01 DEV - http://pastebin.com/r6ivKdwi
- [/spoiler]
- triggerIntroduction()
- triggerInput()
- triggerFinish()
- repeat(getInput("This is where you input stuff!"), 0)
- console("A message for console", "Red/White/Orange/Green")
- msgbox("Message", "Title", "Alert/Infomative/Default/Critical")
- triggerKeysPage()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement