Files
Aurora.3/code/modules/admin/verbs/ntsl.dm
William Lemon 4e365c0eaf NTSL2+ (#6256)
Warning! Big Scary Change!
NTSL2+ is a re-work of NTSL.
The goals of this rework are to remove worries regarding server load, and make it impossible for a malicious program to crash the server.
The result is an asynchronous daemon based interpreted language, called NTSL2+.

The Daemon in question can be found Here

Features:

Programming Language worth considering a programming language
Limit-able execution - Unable to hold the server up
Runs on Modular Computers
Shitty in-game networking.
Players can finally write their own laptop programs I cannot stress that enough.
2019-04-20 18:24:04 +03:00

29 lines
1019 B
Plaintext

/client/proc/disconnect_ntsl()
set name = "NTSL Disconnect"
set category = "Debug"
if(!check_rights(R_DEBUG)) return
if(ntsl2.connected)
log_admin("[key_name(src)] disabled NTSL",admin_key=key_name(src))
message_admins("[key_name_admin(src)] disabled NTSL", 1)
ntsl2.disconnect()
feedback_add_details("admin_verb","DNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else
to_chat(src, "<span class='warning'>NTSL2+ Daemon is already disconnected.</span>")
/client/proc/connect_ntsl()
set name = "NTSL Connect"
set category = "Debug"
if(!check_rights(R_DEBUG)) return
if(!ntsl2.connected)
log_admin("[key_name(src)] enabled NTSL",admin_key=key_name(src))
message_admins("[key_name_admin(src)] enabled NTSL", 1)
ntsl2.attempt_connect()
feedback_add_details("admin_verb","CNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else
to_chat(src, "<span class='warning'>NTSL2+ Daemon is already connected.</span>")