Firetron's LogRule
stableDescription
Logs a rule (horizontal line).
HaasScript
-- ============================================================================
-- Firetron's LogRule
--
-- Logs a rule (horizontal line).
--
-- Discord: @FiretronP75
-- ============================================================================
-- ========================================================
-- Definition
-- ========================================================
DefineCommand('LogRule', 'Logs a rule (horizontal line).')
-- ========================================================
-- Parameters
-- ========================================================
local characters = DefineParameter(StringType, 'characters', 'The character(s) to repeat to form the rule.', false, '-')
local repitition = DefineParameter(NumberType, 'repitition', 'How many times to repeat the character(s).', false, 100)
-- ========================================================
-- Output
-- ========================================================
local rule = characters.rep(characters, repitition)
Log(rule)
DefineOutput(VoidType)
0 Comments
Sign in to leave a comment.
No comments yet. Be the first!