mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
adds the github verb
This commit is contained in:
@@ -66,6 +66,18 @@
|
||||
to_chat(src, "<span class='danger'>The rules URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/github()
|
||||
set name = "GitHub"
|
||||
set desc = "Visit the GitHub page."
|
||||
set hidden = 1
|
||||
if(config.githuburl)
|
||||
if(alert("This will open our Source Code page on GitHub. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.githuburl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The GitHub URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/donate()
|
||||
set name = "Donate"
|
||||
set desc = "Donate to help with hosting costs."
|
||||
|
||||
Reference in New Issue
Block a user