PtokaX forum

Development Section => LUA & PtokaX-Scripting-Interface => Topic started by: jocke on 09 June, 2005, 21:53:20

Title: LUA-scripting in RoboCop ad-msg
Post by: jocke on 09 June, 2005, 21:53:20
Hi,

Im a total n00b in lua, and I was therefore wondering if someone could tell me some commands that I could use in RoboCops admessage.

The commands i allready know:

- "..frmHub:GetHubName().."
- "..frmHub:GetHubAdress().."
- "..frmHub:GetHubPort().."
- "..tSettings.WebAdress.."

The commands i would like to know:

- Topic (from ptokax/robocop)
- Total sharesize when the message is run
- Total users when the message is run
- Hub uptime
- and other useful commands....
Title:
Post by: jiten on 09 June, 2005, 21:58:45
Have a look at the file "Scripting-Interface.txt" shipped with the new PtokaX.
It'll help you on that.

Cheers