Adds web playerinfo link

This commit is contained in:
Kyep
2019-11-02 18:51:59 -07:00
parent adbe7f1b43
commit a0081713f3
4 changed files with 18 additions and 2 deletions
+7
View File
@@ -936,6 +936,13 @@
target = text2num(target)
show_note(index = target)
else if(href_list["webtools"])
var/target_ckey = href_list["webtools"]
if(config.forum_playerinfo_url)
var/url_to_open = config.forum_playerinfo_url + target_ckey
if(alert("Open [url_to_open]",,"Yes","No")=="Yes")
usr.client << link(url_to_open)
else if(href_list["shownoteckey"])
var/target_ckey = href_list["shownoteckey"]
show_note(target_ckey)