Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > disable |
![]() ![]() ![]() |
disable
Syntax
system.movie.disable ["movieName1
" {,"movieName2
", "movieName3
"}] system.group.disable ["groupName1
" {,"groupName2
", "groupName3
"}]
Description
Multiuser Server command; when movie
is specified, disables the given movie from making any future connections. Current connections are not broken. When group
is specified, the given group is disabled from accepting new members. Current members are not removed from the group.
If the server is not set up with the allowMovie
command in the configuration file, by default it allows connections from all movies. The disable
command blocks log-ons from specific movies, while the enable
command reenables a movie disabled by disable
. Never disable all movies; this prevents even an administrator movie from logging in to reenable other movies.
The server responds with a message that has the same object and command in the #sender
parameter and the same #subject
and #contents
.
Examples
This statement disables all future connections by the movie TankWars on the server:
errCode = gMultiuserInstance.sendNetMessage("system.movie.disable", "anySubject" "TankWars")
This statement disables more than one movie by using a list containing the movie names:
errCode = gMultiuserInstance.sendNetMessage("system.movie.disable", "anySubject" ["TankWars", "TicTacToe", "Checkers"])
This statement disables the group @RedTeam from accepting new members:
errCode = gMultiuserInstance.sendNetMessage("system.group.disable", "anySubject" "@RedTeam")
See also
sendNetMessage()
, delete
, enable
![]() ![]() ![]() |