Goonchat Update

This commit is contained in:
Archie
2021-01-08 07:50:51 -03:00
parent 78da9a5a12
commit 9fc02e6cde
6 changed files with 95 additions and 315 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
/*********************************
For the main html chat area
*********************************/
@@ -62,8 +61,8 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("tmp/iconCache.sav")) //Cache of ico
// Arguments are in the form "param[paramname]=thing"
var/list/params = list()
for(var/key in href_list)
if(length(key) > 7 && findtext(key, "param")) // 7 is the amount of characters in the basic param key template.
var/param_name = copytext(key, 7, -1)
if(length_char(key) > 7 && findtext(key, "param")) // 7 is the amount of characters in the basic param key template.
var/param_name = copytext_char(key, 7, -1)
var/item = href_list[key]
params[param_name] = item