PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


luaapi:px_arrivals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
luaapi:px_arrivals [14/10/2012 03:54] ppkluaapi:px_arrivals [11/12/2012 22:53] (current) ppk
Line 4: Line 4:
 |OnStartup() | Is called on script startup.| |OnStartup() | Is called on script startup.|
 |OnExit() | Is called on script exit.| |OnExit() | Is called on script exit.|
- +| | |
----- +
 |OnTimer(uTimerId) | Default function called by timer on given interval.| |OnTimer(uTimerId) | Default function called by timer on given interval.|
- +| | | 
----- +|UserConnected([[luaapi:user_table|tUser]]) | Is called when user finish login sequence. When true is returned then hub don't send it to next scripts.|
- +
-|UserConnected([[luaapi:user_table|tUser]]) | Is called when user finish login sequence.|+
 |UserDisconnected([[luaapi:user_table|tUser]]) | Is called when user disconnect or was disconnected.| |UserDisconnected([[luaapi:user_table|tUser]]) | Is called when user disconnect or was disconnected.|
- +| | | 
----- +|RegConnected([[luaapi:user_table|tUser]]) | Is called when reg finish login sequence. When true is returned then hub don't send it to next scripts.|
- +
-|RegConnected([[luaapi:user_table|tUser]]) | Is called when reg finish login sequence.|+
 |RegDisconnected([[luaapi:user_table|tUser]]) | Is called when reg disconnect or was disconnected.| |RegDisconnected([[luaapi:user_table|tUser]]) | Is called when reg disconnect or was disconnected.|
- +| | | 
----- +|OpConnected([[luaapi:user_table|tUser]]) | Is called when operator finish login sequence. When true is returned then hub don't send it to next scripts.|
- +
-|OpConnected([[luaapi:user_table|tUser]]) | Is called when operator finish login sequence.|+
 |OpDisconnected([[luaapi:user_table|tUser]]) | Is called when operator disconnect or was disconnected.| |OpDisconnected([[luaapi:user_table|tUser]]) | Is called when operator disconnect or was disconnected.|
- +| | |
----- +
 |OnError(sErrorMsg) | Is called when error was found in script.| |OnError(sErrorMsg) | Is called when error was found in script.|
- +| | |
----- +
 |SupportsArrival([[luaapi:user_table|tUser]], sData) | Incoming Supports command from user.| |SupportsArrival([[luaapi:user_table|tUser]], sData) | Incoming Supports command from user.|
 |ChatArrival([[luaapi:user_table|tUser]], sData) | Incoming chat message from user. If script return true hub don't process data.| |ChatArrival([[luaapi:user_table|tUser]], sData) | Incoming chat message from user. If script return true hub don't process data.|
luaapi/px_arrivals.1350186855.txt.gz · Last modified: 14/10/2012 03:54 by ppk