NTSL, parrots, and ID consoles hate apostrophes less.

NTSL's timestamp() will fetch the proper station time.

ID consoles enforce standard player name restrictions on the ID name and assignment.
This commit is contained in:
YotaXP
2013-11-30 14:33:02 -05:00
parent 9492f102b9
commit 91d7150eed
8 changed files with 38 additions and 17 deletions

View File

@@ -90,7 +90,7 @@
// Signal data
interpreter.SetVar("$content", signal.data["message"])
interpreter.SetVar("$content", html_decode(signal.data["message"]))
interpreter.SetVar("$freq" , signal.frequency)
interpreter.SetVar("$source" , signal.data["name"])
interpreter.SetVar("$job" , signal.data["job"])
@@ -207,7 +207,7 @@
// Time
interpreter.SetProc("time", /proc/time)
interpreter.SetProc("timestamp", /proc/timestamp)
interpreter.SetProc("timestamp", /proc/gameTimestamp)
// Run the compiled code
interpreter.Run()

View File

@@ -142,9 +142,6 @@
/proc/time()
return world.timeofday
/proc/timestamp(var/format = "hh:mm:ss") // Get the game time in text
return time2text(world.time + 432000, format)
/*
//Makes a list where all indicies in a string is a seperate index in the list
// JUST A HELPER DON'T ADD TO NTSCRIPT