UserCommand class

The UserCommand class represents a $UserCommand that is sent to all users by hexhub during login.
Hex.UserCommand() returns a new object of type UserCommand.
For more information about how to create an instance of this object read Hex.UserCommand() section.

The usercommand will be sent as long as this object is valid.
Once the lua garbage collector collects this object it will be automatically unregistered with hexhub.

Object:SetUserCommandString(sUserCommand)

This function sets the user menu sent during login.
Parameters:

usrcmd = Hex.UserCommand()
usrcmd:SetUserCommandString("$UserCommand ....")

Generated on Thu Aug 21 11:24:07 2008 for HeXHub/HexScript by  doxygen 1.5.4
Site hosted by SourceForge.net Logo