Easy Macro
Version:1.1.0.3
By: Lionel
Introduction
Hello, This Macro Script Helps You With Rewriting Code
The Macro Is A Set Of Common Commands You Would use,
Like Constantly Using a long number(5.54545449998731973218456264) In your Code.
This Makes Script writing easier
Instructions
Paste the Script In The Script Editor Above Main , Then Edit The Commands Where #Type Message Here and #Put objects in here are.
Then Use The Commands That It Shows In Your Own Script To Make Scripting Easier
Screenshots
Its Impossible To Take A Screen Shot
Features
Macro Objects
Macro Message
Macro Block
Macro Cache
Script
How to use
Compatibility
This Script Works In XP And VX
Credits and Thanks
I Don't Require Credit (But It's ok!)
Author's Notes
If Your Making A Script With This, Post The Macro You Used.
Version:1.1.0.3
By: Lionel
Introduction
Hello, This Macro Script Helps You With Rewriting Code
The Macro Is A Set Of Common Commands You Would use,
Like Constantly Using a long number(5.54545449998731973218456264) In your Code.
This Makes Script writing easier
Instructions
Paste the Script In The Script Editor Above Main , Then Edit The Commands Where #Type Message Here and #Put objects in here are.
Then Use The Commands That It Shows In Your Own Script To Make Scripting Easier
Screenshots
Its Impossible To Take A Screen Shot
Features
Macro Objects
Macro Message
Macro Block
Macro Cache
Script
Macro
Spoiler
- #==============================================================
- #Easy Macro 1.3
- #By Lionel
- #==============================================================
- #To Use A Macro object, Use Macro.ob(Command Number)
- #To Use A Macro message, Use Macro.msg(Message Number)
- module System
- class Macro
- #Add Username Here!
- User=""
- if User=""
- print 'Exerption:BAD DATA(Please rant about this to the owner,(Type:NO NAME!)"
- #------------------------------------------------------------
- #Macro/Object (MO)
- #------------------------------------------------------------
- def self.ob(num)
- if num==1
- return mcrarr=[]#Put objects in here
- elsif num==2
- return mcrhsh={}#Put objects in here
- elsif num==3
- return mcrsng=''#Put objects in here
- else
- print 'Exerption:BAD DATA(Please rant about this to'+User+",(Type:Out of bounds args)"
- end
- end
- #------------------------------------------------------------
- #Macro/Message (MM)
- #------------------------------------------------------------
- def self.msg(msg)
- if msg==1
- print ''#Type Message Here
- elsif msg==2
- print ''#Type Message Here
- elsif msg==3
- print ''#Type Message Here
- else
- print 'Exerption:BAD DATA(Please rant about this to'+User+",(Type:Out of bounds args)"
- end
- end
- #-------------------------------------------------------------
- #Macro/Block (MB)
- #-------------------------------------------------------------
- def self.bck1
- #Put A Heavily Used Block Here
- end
- def self.bck2
- #Put A Heavily Used Block Here
- end
- def self.bck3
- #Put A Heavily Used Block Here
- end
- #--------------------------------------------------------------
- #Macro/Cache (MC)
- #--------------------------------------------------------------
- def self.Che
- $Cache=[]
- def Che.del
- $Cache=nil
- end
- def Che.clr
- if $Cache==[]
- print 'Exerption:BAD DATA(Please rant about this to'+User+",(Type:Object Empty)"
- else
- $Cache=[]
- end
- end
- end
- end
- end
- end
Expand to see the code.
How to use
- include System
- Macro.#Add something here!
Expand to see the code.
Compatibility
This Script Works In XP And VX
Credits and Thanks
I Don't Require Credit (But It's ok!)
Author's Notes
If Your Making A Script With This, Post The Macro You Used.