LSModule:Ventrilo:ventriloinstance (Object Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Description

Object Type Vitals
ventriloinstance
Defined By Ventrilo LSModule
Inherits ventriloelement
Reduces To Same as ventriloelement.ID
Variable Object Type none
Uses Sub-Types no
C/C++ Type void*

Members

Retrieves the current user, if connected to a server.
Retrieves the next instance in the list, if any.
Retrieves the previous instance in the list, if any.
  • ... Selection
Retrieves the currently selected element, if any.
Retrieves the first element matching this query from the all elements available in this instance (any ventriloserver, ventrilochannel, or ventrilouser)

Methods

Examples

Retrieve the current user of the first available Ventrilo instance
echo ${Ventrilo.Instances.Me}
Retrieve the ID of an element given a query (in this case an object with Name being Zoomzoom, IsPhantom being FALSE), from the first available Ventrilo instance
echo ${Ventrilo.Instances.Find["Name=='Zoomzoom'&&IsPhantom==FALSE"]}

See Also