# UOX3 Script Engine

### Functions, Methods, Properties and Event handling

## Item Properties

Property | Purpose
--- | ---
account | The account attached to this socket.
currentChar | Returns the character this socket is currently logged in with as a JS-object.
idleTimeout | Currently unused.
wasIdleWarned | Returns true if character was warned before being disconnected, false if not.
tempInt | Temporary variable to store larger numbers (supports negatives).
buffer | Currently unused.
xText | Temporary variable to store strings of text.
clickX | Temporary variable to store small numbers (supports negatives).
clickY | Temporary variable to store small numbers (supports negatives).
clickZ | Temporary variables to store very small numbers (-128 to 128).
tempObj | Temporary variable to store a Character or Item object.
newClient |
firstPacket | Returns true if it's the first packet received.
cryptClient | Returns true if client is set to crypt-mode, false if not.
clientIP | Currently unused.
walkSequence | Returns/Sets the point in the walk sequence of the socket.
currentSpellType | Returns/Sets the current spell type of the socket.
logging |
bytesSent |
bytesReceived |
targetOK |
pickupX | The X coordinate of the item picked up by socket.
pickupY | The Y coordinate of the item picked up by socket.
pickupZ | The Z coordinate of the item picked up by socket.
pickupSpot | The locationtype the socket picked up an item from. nowhere = 0 ground = 1 ownpack = 2 otherpack = 3 paperdoll = 4 bank = 5
pickupSerial | Currently unused.
language | Returns the unicode ID for the language used by client(?).
clientMajorVer |
clientMinorVer |
clientSubVer |
clientLetterVer |
clientType |
target | Returns the current/previous(?) target of the socket as a JS-object.

Original: ©Copyright 2000-2001 WWW.UOX3.NET (Daniel Stratton/Matthew Randall) ||| Rewrite: ©Copyright 2002 WWW.UOXDEV.DE (Florian "Rukus" Frick)