server.isHosting: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page Server.isHosting to server.isHosting: Converting page titles to lowercase) |
m (Added description; fleshed out the rest of the page) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=server.isHosting | |name=server.isHosting | ||
|version=1.12 | |version=1.12 | ||
|description= | |description=The variable ''server.isHosting'' returns the hosting status of the local machine. | ||
|usage= | |usage= | ||
Line 10: | Line 9: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Returns {{code|true}} if the local machine is hosting a MapTool server and {{code|false}} otherwise. | |||
|also= | |||
{{func|server.isPersonal}}, {{func|server.isServer}} | |||
}} | }} | ||
[[Category:Server Function]] | [[Category:Server Function]][[Category:Macro Function]] |
Revision as of 05:06, 6 June 2023
server.isHosting() Function
• Introduced in version 1.12
The variable server.isHosting returns the hosting status of the local machine.
Usage
server.isHosting()
Returns true
if the local machine is hosting a MapTool server and false
otherwise.