v3.0
Tested with Ptokax DC Hub 0.3.5.2 Lua 5.1.1 (23.11.2006)
If you get error cc3270.dll is missing.. you can find it from Extras folder.
Just add it to root folder (where Ptokax.exe is)
Allmoust all files has been changed so do clean install !!
If you need to change hubadvert banner,that can be found from LV_DataBase\lua\Messages.lua as --[[Timed Hub banner message ]]--
Files that works from v2.9:
-- UserInfo.tbl
-- Protection.tbl
-- Disclaimer.txt
-- All rules files
[Changed] !redirect <addy> or <show> = Change or check addy
[Changed] !tempban <nick> <amount> <min/hour/day/week> <reason>
[Changed] If detections enabled they show where op messages is set
[Changed] !addnetwork <minshare> <b/kb/mb/gb/tb> <address> <hub name>
[Added] Option to disable/enable scripts running from logindata
[Added] bad search for profiles = Check for users searches from bad files (rape/incest/underage etc.)
[Added] Ip/Host protection for profiles (based to OpSecurity by: ']['yphoon?) -- Protects users nick from intrusions from other ip/host
[Added] !tempbanredirect <addy> or <show> = Change or check addy for tempbanner users
[Added] !banredirect <addy> or <show> = Change or check addy for banned users
[Added] !shareredirect <addy> or >show> = Change or check addy for min/max share
[Added] !slotredirect <addy> or <show> = Change or check addy for min/max slots
[Added] !privateredirect <addy> or <show> = Change or check addy for registered only redirects
[Added] !motd/!motd <new_motd> = shows/adds MOTD
[Added] !setmotd <on/off> = turns MOTD on or off
[Added] !fakecheck <yes/no> = for fakeshare check
[Added] yes/no for client/limiters/connections/connections mode detection +rc (20.10)
[Added] commands to set cleaner time (1 day/1week etc ) +rc (20.10)
[Added] !cleaner <yes/no> = set database cleaner automatic or not +rc (20.10)
[Added] !cleanprofile <profile/all> = sets does profile be checked (databasecleaner) +rc (20.10)
[Added] Counters to hconfig
[Added] !block bad tag <yes/no> = blocks bad tags, only allows--> <(.*)V:(.*),M:(%S+),H:(%d+)/(%d+)/(%d+),S:(%d+)
[Added] !slots = shows all free slots in hub +rc (20.10) (request by Event_Horizon)
[Added] warn & inform for antiadvertising + rc (27.10)
[Added] if 3x warned for advertising by script = tempban (27.10)
[Added] if 3x kicked for advertising by script = ban (27.10)
[Added] !friendlyhubs !addfriendly !delfriendly +rc (27.10)
[Added] when adding/deleting friendlyhub/networkhub its added/delted from safe list for advertising (27.10)
[Added] !call user = Calls user in pm to join the main chat +rc (27.10)
[Added] !hubstats = shows counters +rc (08.11)
[Added] !resetcounters = resets all counters +rc (08.11)
[Added] when accounts cleaned.. script shows who is deleted and when last seen (ops only) (18.11)
[Added] Profile <all> to commands:
-- !maxhubs = sets same maxhubs to all but owner profile +rc (request by Stormbringer)
-- !minslots = sets same minslots to all but owner profile +rc (request by Stormbringer)
-- !maxslots = sets same maxslots to all but owner profile +rc (request by Stormbringer)
-- !minshare = sets same minshare to all but owner profile +rc (request by Stormbringer)
-- !maxshare = sets same maxshare to all but owner profile +rc (request by Stormbringer)
-- !advertising = sets same advertising result to all but owner profile +rc (request by Stormbringer)
-- !rightclick = sets rightclick support on/off for all profiles +rc
-- !notifylogin = sets login notify on/off for all profiles +rc
-- !loginmessage = sets loginmessage on/off for all profiles +rc
-- !setblock = sets dl/search block yes/no to all profiles +rc (11.10)
-- !olduserip = sets support for $USERIP v1 yes/no to all profiles +rc (11.10)
-- !chatblock = sets mainchat block yes/no to all but owner profile +rc (11.10)
-- !setclient = sets permission for client allow/deny for all but owner profile +rc (11.10)
-- !setclientversion = sets permission for clientversion allow/deny for all but owner profile +rc (11.10)
-- !setmode = sets permission for connection mode allow/deny for all but owner profile +rc (11.10)
-- !setlimiter = sets permission for limitervalue allow/deny for all but owner profile + rc (13.10)
-- !setconnection = sets permission for connection type allow/deny for all but owner profile +rc (13.10)
-- !delnetwork = deletes all hubs from network table +rc (19.10) (request by Northwind)
-- !deltopic = deletes all topics +rc (20.19) (request by Stormbringer)
[Rebuil] Settings Tables
[Fixed] Bug in loginmessage
[Fixed] Bug in Dl/search block
[Fixed] User cant kick/ban etc himself (27.10)
[Fixed] gives message if there werent users in cleaner immune list.. (thx tic_tac) (27.10)
Download link in my signature ;D
Woow, this is lovely, trying it now :)
i cant see no signiture ;)
Where ur lovely banner or did i not make it for u
hi folks,
i get this error message:
Script_Commands.lua:1393: bad argument #1 to 'pairs' (table expected, got no value)
can you help?
line 1393: for i,name in pairs(GetUsersByProfile(prof)) do
Possibly you don't have somebody registered with the requested profile ?
try this as fix in function Command["showusers"] = function(user,data)
replace
local msg = "\n\n\tUsers with profile "..prof..":\r\n\r\n"
for i,name in pairs(GetUsersByProfile(prof)) do
msg = msg.."\t"..name.."\r\n"
end
user:SendPM(Cfg.Bot_Name,msg)
with
local msg = "\n\n\tUsers with profile "..prof..":\r\n\r\n"
if GetUsersByProfile(prof) ~= nil then
for i,name in pairs(GetUsersByProfile(prof)) do
msg = msg.."\t"..name.."\r\n"
end
else
msg = msg.."\tNo registrations found\r\n"
end
user:SendPM(Cfg.Bot_Name,msg)
thx for your fast help, it works fine
I was wondering if there is command spy in it ?? can't find it.
Regards
No command spy Stoney, but it's an excellent bot :)