Merge pull request #15652 from SandPoot/title-screen

Updates the title screen
This commit is contained in:
deathride58
2022-06-05 00:27:44 -04:00
committed by GitHub
29 changed files with 458 additions and 149 deletions
+12
View File
@@ -0,0 +1,12 @@
///Returns whether or not a player is a guest using their ckey as an input
/proc/is_guest_key(key)
if(findtext(key, "Guest-", 1, 7) != 1) //was findtextEx
return FALSE
var/i, ch, len = length(key)
for(i = 7, i <= len, ++i) //we know the first 6 chars are Guest-
ch = text2ascii(key, i)
if (ch < 48 || ch > 57) //0-9
return FALSE
return TRUE