adds the github verb

This commit is contained in:
naisudev
2017-10-28 22:57:50 +03:00
committed by GitHub
parent 200a75e885
commit 729976ea90
+12
View File
@@ -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."