Update Chat System to use to_chat(src, "") instead of src << ""

This commit is contained in:
Atermonera
2019-11-05 13:31:35 -09:00
committed by VirgoBot
parent d3b07d3fb7
commit a45472b446
140 changed files with 1312 additions and 642 deletions

View File

@@ -9,11 +9,11 @@
var/output = replacetext(config.wikisearchurl, "%s", url_encode(query))
src << link(output)
else
src << "<span class='warning'> The wiki search URL is not set in the server configuration.</span>"
to_chat(src, "<span class='warning'> The wiki search URL is not set in the server configuration.</span>")
else
src << link(config.wikiurl)
else
src << "<span class='warning'>The wiki URL is not set in the server configuration.</span>"
to_chat(src, "<span class='warning'>The wiki URL is not set in the server configuration.</span>")
return
/client/verb/forum()
@@ -25,7 +25,7 @@
return
src << link(config.forumurl)
else
src << "<span class='warning'>The forum URL is not set in the server configuration.</span>"
to_chat(src, "<span class='warning'>The forum URL is not set in the server configuration.</span>")
return
/client/verb/rules()
@@ -38,7 +38,7 @@
return
src << link(config.rulesurl)
else
src << "<span class='danger'>The rules URL is not set in the server configuration.</span>"
to_chat(src, "<span class='danger'>The rules URL is not set in the server configuration.</span>")
return
/client/verb/map()
@@ -51,7 +51,7 @@
return
src << link(config.mapurl)
else
src << "<span class='danger'>The map URL is not set in the server configuration.</span>"
to_chat(src, "<span class='danger'>The map URL is not set in the server configuration.</span>")
return
/client/verb/github()
@@ -64,7 +64,7 @@
return
src << link(config.githuburl)
else
src << "<span class='danger'>The GitHub URL is not set in the server configuration.</span>"
to_chat(src, "<span class='danger'>The GitHub URL is not set in the server configuration.</span>")
return
/client/verb/hotkeys_help()