20 posts
Posted 21 March 2016 - 10:09 PM
the title says it all
7083 posts
Location
Tasmania (AU)
Posted 21 March 2016 - 10:19 PM
Not really. What do you mean by "is running"? Are you wondering if an API has been loaded and is ready to use, or do you specifically want to be able to tell if an API's functions are actively being used somewhere?
20 posts
Posted 22 March 2016 - 12:47 AM
yes if its loaded
3057 posts
Location
United States of America
Posted 22 March 2016 - 01:02 AM
1080 posts
Location
In the Matrix
Posted 22 March 2016 - 02:29 AM
if peripheral then
--#Peripheral api is loaded
end
if rednet then
--#Rednet api is loaded
end
2427 posts
Location
UK
Posted 22 March 2016 - 10:16 AM
(not what was asked but related)
if you want to load an API if it's not loaded then you'd do this
if not API_NAME then
os.load(API_NAME)
end
there is a smarter one of these here:
http://www.computercraft.info/forums2/index.php?/topic/24253-monitor-touchscreen-woes/page__p__228877#entry228877