Support button

Adds a patreon button to the client
This commit is contained in:
VerySoft
2023-09-08 19:41:10 -04:00
parent 7bc6fd9799
commit 7cd2ca7e3b
3 changed files with 29 additions and 0 deletions
+13
View File
@@ -80,6 +80,19 @@
to_chat(src, "<span class='danger'>The Discord URL is not set in the server configuration.</span>")
return
/client/verb/patreon()
set name = "Patreon"
set desc = "Visit the patreon"
set hidden = 1
if(config.patreonurl)
if(tgui_alert(usr, "This will open the Patreon in your browser. Are you sure?","Visit Website",list("Yes","No"))=="No")
return
src << link(config.patreonurl)
else
to_chat(src, "<span class='danger'>The Patreon URL is not set in the server configuration.</span>")
return
/client/verb/hotkeys_help()
set name = "hotkeys-help"
set category = "OOC"