Initializing help system before first use

getfromuid

getfromuid


Purpose
Get the user ID of the sender of an event.
Synopsis
function getfromuid(ev:Event):integer
Argument
ev 
An event
Return value
The user ID of the sender of the event. 0 is returned for a nullevent
Further information
1. Each model can be associated with a user ID that is attached to each event it sends. With this function one can identify the sender of a given event.
2. The user ID of an event sent from the parent model is always 0.
Related topics
Module