FANDOM


Torus.io contains functions used for sending and receiving information to and from the chat server.

sendMessageEdit

Torus.io.sendMessage = function() {


Return value undefined.
Notes
  • This function is safe to use externally.

setStatusEdit

Torus.io.setStatus = function() {


Return value undefined.
Notes
  • See also Status states.
  • This function is safe to use externally.

giveModEdit

Torus.io.giveMod = function() {


Return value undefined.
Notes
  • A user can be given chatmod rights even if they aren't in the room.
  • This function is safe to use externally.

kickEdit

Torus.io.kick = function() {


Return value undefined.
Notes
  • A user can be kicked from the room even if they aren't in the room.
  • This function is safe to use externally.

banEdit

Torus.io.ban = function() {


Return value undefined.
Notes
  • If expiry is 0, user is unbanned.
  • A user can be banned (or unbanned) even if they aren't in the room, or have never joined chat.
  • This function is safe to use externally.

openPrivateEdit

Torus.io.openPrivate = function() {


Return value undefined.
Notes
  • This function is safe to use externally.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.