PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: Thor on 03 April, 2006, 19:54:10

Title: Settings.lua
Post by: Thor on 03 April, 2006, 19:54:10
This is a settings script, you can set up all frmHub and deFlood object. I cant translate it to english, because it very big, sorry :-\
Usage as in Verli: !set <parameter> [value] or != <parameter> [value]
The parameters can see in the helpfile (!sethelp or !sh) or with the actual values with command !getconfig or !gc
I cant post nor the script, nor the helpfile, because they exceeds ?maximum allowed length, so i packed it with zip and rename it to jpg. If the helpfile doesnt on the scripts folder, the script will stop and get error on !sethelp command.
Title: Re: Settings.lua
Post by: Markitos on 03 April, 2006, 20:11:30
Quote from: Hungarista on 03 April, 2006, 19:54:10
rename it to jpg.
Thats a bad idea...what was the px script database made for??
Title: Re: Settings.lua
Post by: Thor on 05 April, 2006, 06:37:00
Sorry, You've right... http://ptxscriptdb.psycho-chihuahua.net/download.php?list.34
Title: Re: Settings.lua
Post by: Markitos on 05 April, 2006, 09:39:54
Quote from: Hungarista on 05 April, 2006, 06:37:00
Sorry, You've right... http://ptxscriptdb.psycho-chihuahua.net/download.php?list.34
QuoteDownload Error
File Not Found
Seems, that someone deleted the script...
Title: Re: Settings.lua
Post by: Madman on 05 April, 2006, 18:50:06
I downloaded it from here...
http://ptxscriptdb.psycho-chihuahua.net/download.php?view.229

Anyway..
I don't kno exatly what the problem is...
As far i understood the !gc command is the problem
I got that working..
I added fReport = "" above

if deFlood:GetReport() == 1 then fReport = "on" else fReport = "off" end


Then i changed the

"\tbanmsg_addmsg= "..frmHub:GetBanMsgAddMsg().."\r\n"..

to

"\tbanmsg_addmsg= "..(frmHub:GetBanMsgAddMsg() or "No message").."\r\n"..


Beacuse it was causing a nil error if there was no message....
Title: Re: Settings.lua
Post by: 6Marilyn6Manson6 on 05 April, 2006, 19:02:22
This script is in hubngarian :S. Translate it in english please :D
Title: Re: Settings.lua
Post by: Thor on 09 April, 2006, 16:57:57
I am ready :) I attached it to the post, and mirrored in scriptDB.
Title: Re: Settings.lua
Post by: 6Marilyn6Manson6 on 09 April, 2006, 18:34:53
Quote from: Hungarista on 09 April, 2006, 16:57:57
I am ready :) I attached it to the post, and mirrored in scriptDB.

http://ptxscriptdb.psycho-chihuahua.net/download.php?list.34

In this link I've found hungarian version and I want english version. Give me link for english version, thanks ;)
Title: Re: Settings.lua
Post by: Thor on 09 April, 2006, 20:47:32
http://ptxscriptdb.psycho-chihuahua.net/download.php?view.233
Title: Re: Settings.lua
Post by: 6Marilyn6Manson6 on 09 April, 2006, 23:13:36
Thanks a lot