luaapi:px_setman
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| luaapi:px_setman [14/10/2012 04:06] – created ppk | luaapi:px_setman [16/06/2015 14:03] (current) – ppk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Setting manager functions ====== | + | ====== Setting manager |
| ^ Function ^ Description ^ | ^ Function ^ Description ^ | ||
| |SetMan.Save() | Save settings.| | |SetMan.Save() | Save settings.| | ||
| - | + | | | | | |
| - | ---- | + | |
| |SetMan.GetMOTD() | Return actual MOTD.| | |SetMan.GetMOTD() | Return actual MOTD.| | ||
| |SetMan.SetMOTD(sString) | Set MOTD. < | |SetMan.SetMOTD(sString) | Set MOTD. < | ||
| - | + | | | | | |
| - | ---- | + | |SetMan.GetBool([[luaapi: |
| - | + | |SetMan.SetBool([[luaapi: | |
| - | |SetMan.GetBool([[luaapi: | + | | | | |
| - | |SetMan.SetBool([[luaapi: | + | |SetMan.GetNumber([[luaapi: |
| - | + | |SetMan.SetNumber([[luaapi: | |
| - | ---- | + | | | | |
| - | + | |SetMan.GetString([[luaapi: | |
| - | |SetMan.GetNumber([[luaapi: | + | |SetMan.SetString([[luaapi: |
| - | |SetMan.SetNumber([[luaapi: | + | | | | |
| - | + | ||
| - | ---- | + | |
| - | + | ||
| - | |SetMan.GetString([[luaapi: | + | |
| - | |SetMan.SetString([[luaapi: | + | |
| - | + | ||
| - | ---- | + | |
| |SetMan.GetMinShare() | Return min share in bytes.| | |SetMan.GetMinShare() | Return min share in bytes.| | ||
| - | |SetMan.SetMinShare(nShareInBytes) | Set min share in bytes.| | + | |SetMan.SetMinShare(iShareInBytes) | Set min share in bytes.| |
| - | |SetMan.SetMinShare(nMinShare, nShareUnits) | nMinShare | + | |SetMan.SetMinShare(iMinShare, iShareUnits) | iMinShare |
| - | + | | | | | |
| - | ---- | + | |
| |SetMan.GetMaxShare() | Return max share in bytes.| | |SetMan.GetMaxShare() | Return max share in bytes.| | ||
| - | |SetMan.SetMaxShare(nShareInBytes) | Set max share in bytes.| | + | |SetMan.SetMaxShare(iShareInBytes) | Set max share in bytes.| |
| - | |SetMan.SetMaxShare(nMaxShare, nShareUnits) | nMaxShare | + | |SetMan.SetMaxShare(iMaxShare, iShareUnits) | iMaxShare |
| - | + | | | | | |
| - | ---- | + | |SetMan.SetHubSlotRatio(iHubs, iSlots) | Set hub/slot ratio.| |
| - | + | | | | | |
| - | |SetMan.SetHubSlotRatio(nHubs, nSlots) | Set hub/slot ratio.| | + | |
| - | + | ||
| - | ---- | + | |
| |SetMan.GetOpChat() | Return table with sNick, sDescription, | |SetMan.GetOpChat() | Return table with sNick, sDescription, | ||
| |SetMan.SetOpChat(bEnabled, | |SetMan.SetOpChat(bEnabled, | ||
luaapi/px_setman.1350187573.txt.gz · Last modified: by ppk
