@verb #555:"tell_www_setup" this none this rxdo #789
@program #555:"tell_www_setup" this none this
caller == this || raise(E_PERM)
pass(@args)
set_task_perms(player.user)
if (player.user:controls(this))
if (this.db_files)
db_msg = ""
typeof(this.db_files) == $STR && (this.db_files = {this.db_files})
for url in (this.db_files)
if (!(url = $su:trim(url)))
continue
endif
db_msg = db_msg + tostr("
"
endif
url = $www:fileURL(this, "")
if ($code_utils:task_valid(this._reboot_task))
reboot_msg = " You may View any errors from the reboot as it is running."
else
reboot_msg = " the database! View any errors from the previous reboot."
endif
if ($code_utils:task_valid(this._check_task))
check_msg = " You may View any errors from the link check as it is running."
else
check_msg = " links in all files. View any errors from the previous link check."
endif
$msg:mtell("setup", url, db_msg, reboot_msg, check_msg)
else
if (`this.db_files ! E_PERM')
db_msg = "
Sorry, you don't have permission to view the database file(s).
"
elseif (this.db_files)
db_msg = ""
typeof(this.db_files) == $STR && (this.db_files = {this.db_files})
for url in (this.db_files)
if (!(url = $su:trim(url)))
continue
endif
db_msg = db_msg + tostr("
"
endif
url = $www:fileURL(this, "")
if ($code_utils:task_valid(this._reboot_task))
reboot_msg = " View any errors from the reboot as it is running."
else
reboot_msg = "View any errors from the previous reboot."
endif
if ($code_utils:task_valid(this._check_task))
check_msg = " View any errors from the link check as it is running."
else
check_msg = "View any errors from the previous link check."
endif
$msg:mtell("nosetup", url, db_msg, reboot_msg, check_msg)
endif
"Last modified by Dax (#789) on Tue May 3 14:03:26 2005 MDT."
.