I use 0.3.4.0 and our hub is on server, so i made an ALL-IN-ONE setting script, which handle all frmHub and deFlood object. When i made, i think i found two bug. The first is: the banmesssage addmessage cant set up by script... it says everything ok, but it didn't do anything ::) And the second is in the deFlood: the Scripting-Interface.txt says: settings is the following eg.: SetChat(action, count, time) But when i did the script, and i tested, i found a little changing, because the correct syntax is: SetChat(time,action, count). And a LUA request: the autoregister to the hublist can set by script, but the value doesn't ask from the hub (eg: frmHub:SetAutoRegister(0/1) if possible). Just because my script get all settings from the hub, and it would be good, that it display it :) Thanks
Sorry, it was my mistake, i thought to frmHub:GetAutoRegister() ... i posted the script: http://forum.ptokax.org/index.php?topic=5904.0 Please somebody see it, and correct the banmessage-addmessage setting, thanks :)
Fixed SetBanMsgAddMsg, added GetAutoRegister and no bug found in SetChat ::)
It seems i cant speak :D So. The setting is ok, but the getting-action wrong...
Setting: action,counter,time
Getting: time, action, count
I get the settings by this: (copied from the settings.lua)
fMainchat = ""
for i,v in deFlood:GetChat() do
fMainchat = fMainchat..v.."\t"
end
And fMainChat return with: time, action, count.
Btw I tried this script with PtokaX 0.3.3.4d0 and many deFlood value got nil, i can't start the script...? ??? What can be the problem? The ReadMe.txt says it use LUA 5.02
I upload it to the script database: http://ptxscriptdb.psycho-chihuahua.net/download.php?list.34 Just it is very big.
Hungarista - it seems the Settings.lua File you uploaded to the scriptdb iis not there, could you send it to me as PN so that i can fix it please?
Thnx
http://ptxscriptdb.psycho-chihuahua.net/download.php?view.229 I download it, so it works great. Please somebody answer me, why it don't works under PtokaX 0.3.4.0d0 (: thanks
Quote from: Hungarista on 05 April, 2006, 16:32:38
http://ptxscriptdb.psycho-chihuahua.net/download.php?view.229 I download it, so it works great. Please somebody answer me, why it don't works under PtokaX 0.3.4.0d0 (: thanks
It is in hubngarian :S. Translate it in english please ;)
Quote from: 6Marilyn6Manson6 on 05 April, 2006, 17:48:36
It is in hubngarian :S. Translate it in english please ;)
That's why it's under Localized section in case you didn't notice.
Hungarian is script made of Hungarista :D. Translate it in english :P
I do it, but it is very large, and the helpfile also, so it take long time to do. But it is in progress...
Quote from: Hungarista on 07 April, 2006, 12:49:01
I do it, but it is very large, and the helpfile also, so it take long time to do. But it is in progress...
Thanks, when finish english version.. please post it :D