return{Name="\104\105\115\116\111\114\121";Aliases={};AutoExec={"\097\108\105\097\115 \"\033\124\068\105\115\112\108\097\121\115 \112\114\101\118\105\111\117\115 \099\111\109\109\097\110\100 \102\114\111\109 \104\105\115\116\111\114\121\046\" \114\117\110 \036\123\104\105\115\116\111\114\121 \036\049\123\110\117\109\098\101\114\124\076\105\110\101 \078\117\109\098\101\114\125\125";"\097\108\105\097\115 \"\094\124\082\117\110\115 \116\104\101 \112\114\101\118\105\111\117\115 \099\111\109\109\097\110\100\044 \114\101\112\108\097\099\105\110\103 \097\108\108 \111\099\099\117\114\114\101\110\099\101\115 \111\102 \065 \119\105\116\104 \066\046\" \114\117\110 \036\123\114\117\110 \114\101\112\108\097\099\101 \036\123\104\105\115\116\111\114\121 -\049\125 \036\049\123\115\116\114\105\110\103\124\065\125 \036\050\123\115\116\114\105\110\103\124\066\125\125";"\097\108\105\097\115 \"\033\033\124\082\101\114\117\110\115 \116\104\101 \108\097\115\116 \099\111\109\109\097\110\100\046\" \033 -\049"},Description="\068\105\115\112\108\097\121\115 \112\114\101\118\105\111\117\115 \099\111\109\109\097\110\100\115 \102\114\111\109 \104\105\115\116\111\114\121\046",Group="\068\101\102\097\117\108\116\085\116\105\108",Args={{Type="\105\110\116\101\103\101\114",Name="\076\105\110\101 \078\117\109\098\101\114";Description="\067\111\109\109\097\110\100 \108\105\110\101 \110\117\109\098\101\114 \040\099\097\110 \098\101 \110\101\103\097\116\105\118\101 \116\111 \103\111 \102\114\111\109 \101\110\100\041"}};ClientRun=function(I,b)local V=I.Dispatcher:GetHistory()if b<=0 then b=#V+b end return V[b]and""end}
-- Decompiled with the Synapse X Luau decompiler.

return {
	Name = "history",
	Aliases = {},
	AutoExec = {
		'alias "!|Displays previous command from history." run ${history $1{number|Line Number}}',
		'alias "^|Runs the previous command, replacing all occurrences of A with B." run ${run replace ${history -1} $1{string|A} $2{string|B}}',
		'alias "!!|Reruns the last command." ! -1',
	},
	Description = "Displays previous commands from history.",
	Group = "DefaultUtil",
	Args = {
		{
			Type = "integer",
			Name = "Line Number",
			Description = "Command line number (can be negative to go from end)",
		},
	},
	ClientRun = function(p1, p2)
		local v1 = p1.Dispatcher:GetHistory()
		if p2 <= 0 then
			p2 = #v1 + p2
		end
		return v1[p2] and ""
	end,
}
