mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Rules verb moved to the interface to make it more visible (so new players may actually -read- it occasionally). Minor changes to investigate singulo based on feedback. Entries are now timestamped and the "time \ref[src] (location)" bit is in a smaller font. Collectors note how much fuel they are loaded with. Revision: r3687 Author: elly1...@rocketmail.com
30 lines
835 B
Plaintext
30 lines
835 B
Plaintext
/client/verb/wiki()
|
|
set name = "wiki"
|
|
set desc = "Visit the wiki."
|
|
set hidden = 1
|
|
if( config.wikiurl )
|
|
if(alert("This will open the wiki in your browser. Are you sure?",,"Yes","No")=="No")
|
|
return
|
|
src << link(config.wikiurl)
|
|
else
|
|
src << "\red The wiki URL is not set in the server configuration."
|
|
return
|
|
|
|
/client/verb/forum()
|
|
set name = "forum"
|
|
set desc = "Visit the forum."
|
|
set hidden = 1
|
|
if( config.forumurl )
|
|
if(alert("This will open the forum in your browser. Are you sure?",,"Yes","No")=="No")
|
|
return
|
|
src << link(config.forumurl)
|
|
else
|
|
src << "\red The forum URL is not set in the server configuration."
|
|
return
|
|
|
|
#define RULES_FILE "config/rules.html"
|
|
/client/verb/rules()
|
|
set name = "Rules"
|
|
set desc = "Show Server Rules."
|
|
set hidden = 1
|
|
src << browse(file(RULES_FILE), "window=rules;size=480x480") |