PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


luaapi:px_regman

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
luaapi:px_regman [18/11/2012 23:25] ppkluaapi:px_regman [06/04/2013 13:08] – b430 ppk
Line 13: Line 13:
 |RegMan.AddReg(sNick, sPass, nProfileNumber)|Chars $<html>|</html> and space not allowed in nick. Char <html>|</html> not allowed in password. Max nick/pass length 64 chars. Return nil when failed, true if success.| |RegMan.AddReg(sNick, sPass, nProfileNumber)|Chars $<html>|</html> and space not allowed in nick. Char <html>|</html> not allowed in password. Max nick/pass length 64 chars. Return nil when failed, true if success.|
 |RegMan.DelReg(sNick)|Return nil when failed, true if success.| |RegMan.DelReg(sNick)|Return nil when failed, true if success.|
-|RegMan.ChangeReg(sNick, sPass, nProfileNumber)|Return nil when failed, true if success.|+|RegMan.ChangeReg(sNick, sPass, nProfileNumber)|Return nil when failed, true if success. When you don't want to change password then use nil instead of string as second param.|
 | | | | | |
 |RegMan.ClrRegBadPass(sNick)|Clear advanced password protection bad password count for given nick. Return nil when failed, true if success.| |RegMan.ClrRegBadPass(sNick)|Clear advanced password protection bad password count for given nick. Return nil when failed, true if success.|
luaapi/px_regman.txt · Last modified: 16/06/2015 14:03 by ppk