mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Support button (#6968)
Co-authored-by: Casey <a.roaming.shadow@gmail.com> Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user