ComputerCraft Archive

A Smaller Top Level Coroutine Override

computer networking unknown forum

Description

We all know NeverCast's Top Level Coroutine Override. It's pretty nice and very useful. But I've figured out a way to do the same job with much simpler code! os.queueEvent("modem_message") local p = _...

Installation

Copy one of these commands into your ComputerCraft terminal:

Pastebin:pastebin get L9Se9RVR a_smaller_top_level_coroutine_override
wget:wget https://pastebin.com/raw/L9Se9RVR a_smaller_top_level_coroutine_override
Archive:wget https://cc.shobie.xyz/cc/get/pb-L9Se9RVR a_smaller_top_level_coroutine_override
Quick Install: wget https://cc.shobie.xyz/cc/get/pb-L9Se9RVR A Smaller Top Level Coroutine Override

Usage

Run the program after downloading

Tags

networkingforumprograms

Source

View Original Source

Code Preview

os.queueEvent("modem_message")
p = _G.printError
function _G.printError()
        _G.printError = p
        os.run({}, "n")
end