LSModule:Ventrilo:ventriloinstance (Object Type)
From Lavish Software Wiki
Contents |
[edit]
Description
| 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* |
[edit]
Members
- ventrilouser Me
- Retrieves the current user, if connected to a server.
- ventriloinstance NextInstance
- Retrieves the next instance in the list, if any.
- ventriloinstance PreviousInstance
- Retrieves the previous instance in the list, if any.
- ... Selection
- Retrieves the currently selected element, if any.
- ... Find[query]
- Retrieves the first element matching this query from the all elements available in this instance (any ventriloserver, ventrilochannel, or ventrilouser)
[edit]
Methods
[edit]
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"]}
[edit]
See Also
- Ventrilo LSModule
- ventriloelement
- ventriloinstance - An instance of the Ventrilo application
- ventrilochannel
- ventrilouser
