Lionel Tabris
Member
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
[rgss]
include System
Macro.#Add something here!
[/rgss]
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
[rgss]
#==============================================================
#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
<span style="color:#996600;"
[/rgss]
#==============================================================
#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
<span style="color:#996600;"
[/rgss]
[rgss]
include System
Macro.#Add something here!
[/rgss]
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.