player:tell("[cyan]Installing ANSI backgrounds... making the following assumptions: $ansi_utils and $ansi_options point to the proper places, you're using Dark_Owl's ANSI system, and that no modifications have been made to $ansi_options.[normal]"); player:tell("[red]Adding background codes...[normal]"); ;$ansi_utils:add_group("Backgrounds") ;$ansi_utils:add_code("b:black", "e[40m", "Backgrounds") ;$ansi_utils:add_code("b:red", "e[41m", "Backgrounds") ;$ansi_utils:add_code("b:green", "e[42m", "Backgrounds") ;$ansi_utils:add_code("b:yellow", "e[43m", "Backgrounds") ;$ansi_utils:add_code("b:blue", "e[44m", "Backgrounds") ;$ansi_utils:add_code("b:magenta", "e[45m", "Backgrounds") ;$ansi_utils:add_code("b:purple", "e[45m", "Backgrounds") ;$ansi_utils:add_code("b:cyan", "e[46m", "Backgrounds") ;$ansi_utils:add_code("b:white", "e[47m", "Backgrounds") player:tell("[red]Modifying $ansi_options:actual to include backgrounds in @ansi-o +-all...[normal]"); @program $ansi_options:actual if (args[1] == "all") return {{"colors", a = args[2]}, {"extra", a}, {"misc", a}, {"blinking", a}, {"bold", a}, {"ignore", 0}, {"backgrounds", a}}; elseif (args[1] == "none") return {{"colors", a = !args[2]}, {"extra", a}, {"misc", a}, {"blinking", a}, {"bold", a}, {"backgrounds", a}}; else return {args}; endif . player:tell("[cyan]Done! With luck, you should now have backgrounds. @ansi-o +all or @ansi-o +backgrounds to try them.[normal]");