PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Conversion Requests => Topic started by: atonal on 19 April, 2008, 11:22:36

Title: bot info = sombory can make it for new API ? please thanks
Post by: atonal on 19 April, 2008, 11:22:36
Code (lua) Select
---bot info

gb = 1 * 1024 * 1024 -- Do not remove this line
botsharesize = 17 * 1024 * gb + 1024 * 1024 * 285 -- Do not remove this line, to set botshare 0 then edit only the numbers 17 and 285 [example 17 * 1024 * gb + 1024 * 1024 * 285 = 0 * 1024 * gb + 1024 * 1024 * 0]

---General Settings
tConfig = {
["Bot"] = "Guardian", -- Name of the Bot
["PmOps"] = nil, -- nil for off, 1 for on
["SendOp"] = 1, -- Set to nil if you dont want msg come to OpChat, it will send in pm from the botname then
["PmOwner"] = 1, -- nil for off, 1 for on
["PPKScript"] = 1, -- Set 1 for get all links sent to you in a pm
["SexAndLink"] = 1, -- Set 1 to block all links with SEX in the same message
["AdvancedDetection"] = 1, -- Set 1 to use advanced detection
["HubOwner"] = "[NL]-=DJ_Bert&Monja=-", -- Duh?
["Time2Ban"] = 720, -- 12 hours as default
["BanNick"] = nil, -- Set to 1 to ban nick
["LogAll"] = 1, -- Log all suspected pm's set to 1
["Profiles2Check"] = { -- D2AF, Set 0 for off, 1 for on to check profiles
[0] = 0, -- Masters
[1] = 0, -- Operators
[2] = 0, -- Vips
[3] = 1, -- Regs
[4] = 0, -- Moderators
[5] = 0, -- Netfounders
[-1] = 1, -- Users (unreg)
},
}
Hubaddy = "ehq-eurotopia.no-ip.com" -- Duh?
Minshare = "10 GB" -- Minshare for Users
Webaddy = "http://www.djbert.org/blabla" -- Hubs website address or other url
Prefix = "!" -- Set Command Prefix
TZone = " +1 GMT" -- Time Zone hub resides in
Networktrig = 1 -- Set 1 if there is a Network, 0 for no Network (Networktrig)
hubnetwork = "Eurotopia Network" -- Network information (Networktrig)
clean = "720" -- Cleans users that have 3x bad password for nick every 12 Hours
badfile = "5" -- Search for active bad files every 5 seconds
admes = "60" -- Showing Ads (hubstats) every 60 Minutes
watch = "35" -- Showing This hub is watched by Guardian every 35 Minutes
datetime1 = "47" -- Showing Date, Time and you have found the (networks Message) every 47 Minutes
datetime2 = "17" -- Showing Date & Time Enjoy your stay at (Your Hub)
boxmess = "1" -- Showing every 1 Minutes a new message in kickbox
votes = "90" -- Sending Vote for you're hub every 90 Minutes in main or pm

tDays = { --Here you can change the day in own language, example ["Monday"] = "Maandag", or ["Monday"] = "Montag", etc
["Monday"] = "Monday",
["Tuesday"] = "Tuesday",
["Wednesday"] = "Wednesday",
["Thursday"] = "Thursday",
["Friday"] = "Friday",
["Saturday"] = "Saturday",
["Sunday"] = "Sunday",
}

----regged user cleaner settings----

autoclean = "1" -- 0:disables / 1:enables , automatic mode ( if disabled use !cleanusers to clean )
reg = "4" -- Regged users cleaned every X weeks
vip = "8" -- Vip users cleaned every X weeks
sendmsg = 0 -- Where you want the cleanermsg go      0=main  1=PM

---Warn/Kick Settings

MaxWarns = 3 -- Set MaxWarns 3 = default
MaxKicks = 3 -- Set MaxKicks 3 = default

---Downloadblocker Settings

---immine users
tImmune = { ["user1"] = 1, ["user2"] = 1, } -- Non-Operators Immune List (["nick"] = 1)

FileProfiles  = { --witch profile can't download from others..
[-1] = 1, --Unregistered User --can't download from registered users, set to 0 if you wish turn blocker for unregged off
[0] = 0, --Master
[1] = 0, --Operator
[2] = 0, --Vip
[3] = 0, --Registered User
[4] = 0, --Moderator
[5] = 0, --NetFounder
}

---Voting Settings

Howsend = 0 -- Where you want the hubvoting go      0=main  1=PM to everyone
voteline = "Vote for us at http://www.hublist.org/?p=hub&id=161731"  -- change this for you're own hub at hublist.org

---Advertiser Settings

Where =0                     -- Where you want messages go      2=topic  1=main   0=box under chat   
         
Lines = { --Used for the advertiser
"-=Welcome To The  [EHQ]Eurotopia (Europian Head Quarter)=-",
"-=The Hub With EHQ Metal, Gothic and Movies=-",
"-=Type --> /fav <-- In The Mainchat To Add This Hub To  Your Favorite Hubs=-",
"-=Tell Your Friends About This Nice And Friendly Hub=-",
"-=To Become A Vip: Clean Share, Minimum 10 GB And At Least 1 Month Regged In This Hub=-",
"-=Don't Advertise For Other Hubs In Main And In Private Messages=-",
"-=Contact The Owner [NL]-=DJ_Bert&Monja=- If You Want To Write Something Here In This Banner=-",
"-=Eurotopia Network Is The Nice Place To Be=-",
"-=Register Yourself Today! And Type--> !regme password <-- Your Own Password=-",
"-=Type --> !rules <-- In Mainchat For The Rules Of This Hub=-",
"-=Don't Share Or Search For Forbidden Files, You Will Be Kicked For It=-",
"-=Type --> !network <-- In Mainchat, To See More Hubs From This Network=-",
"-=Type --> !faq <-- Shows The DC++ Faq=-",
"-=This Hubadres Is: ehq-eurotopia.no-ip.com:411=-",
"-=This Hub Is Watched By Guardian (LUA5), Made By The Guardian Team=-",
"-=Guardian (LUA5) Is Written By DJ Bert & Mr.Buitenhuizen=-",
"-=Vote for us at http://www.hublist.org/?p=hub&id=161731=-",
"-=Death 2 Adult Finder is made by Madman (thnx for this support)=-"
}   

---Ascii Settings

SendTo = { -- 1=on/0=off -- Select who can use ascii
[0] = 1, -- Masters
[1] = 1, -- Operators
[2] = 1, -- Vips
[3] = 1, -- Regs
[4] = 1, -- Moderator
[5] = 1, -- NetFounder
[-1] = 0, -- Users
}

----extra command setting for Operators

OpRedirect = 0 -- Op;s can use Redirect, 0 = no, 1 = yes
OpDescription = 1 -- Op's can change Hub Description, 0 = no, 1 = yes
OpMinShare = 1 -- Op's can use min share, 0 = no, 1 = yes
OpMinSlots = 0 -- Op's can use max slots, 0 = no, 1 = yes
OpMaxSlots = 1 -- Op's can use max slots, 0 = no, 1 = yes
OpHubSlotRatio = 0 -- Op's can use hub/slot ratio, 0 = no, 1 = yes
OpMaxHubs = 1 -- Op's can use max logins, 0 = no, 1 = yes
OpMaxUsers = 1 -- Op's can use max users, 0 = no, 1 = yes
OpMaxLogins = 0 -- Op's can use max logins, 0 = no, 1 = yes
Title: Re: bot info = sombory can make it for new API ? please thanks
Post by: SZL on 20 April, 2008, 11:44:59
Are you shure this is a client-side script? If that so, I need you to give me the whole code then I can try to make it.
Title: Re: bot info = sombory can make it for new API ? please thanks
Post by: Madman on 20 April, 2008, 15:52:34
That's not a script, that's settings for many scripts...
And i doubt any of them is clientside...
Title: Re: bot info = sombory can make it for new API ? please thanks "to madman"
Post by: atonal on 20 April, 2008, 19:47:06
Hi my friend  for send yuo all scripts is very hard , beacuse the scripts is to big
can yuo download fropm here and yuo will see is very good the problem is now no work for the new Ptokax

here:    http://z7.invisionfree.com/Guardian_Forum/index.php?showtopic=66&view=getnewpost

if yuo make will be very good  thanks ,have good day

atonal25
Title: Re: bot info = sombory can make it for new API ? please thanks
Post by: SZL on 21 April, 2008, 09:13:41
OK, now I get it, but for sure this is not a client-side script.
Title: Re: bot info = sombory can make it for new API ? please thanks
Post by: speedX on 21 April, 2008, 09:32:00
Quote from: atonal on 20 April, 2008, 19:47:06
Hi my friend  for send yuo all scripts is very hard , beacuse the scripts is to big
can yuo download fropm here and yuo will see is very good the problem is now no work for the new Ptokax

here:    http://z7.invisionfree.com/Guardian_Forum/index.php?showtopic=66&view=getnewpost

if yuo make will be very good  thanks ,have good day

atonal25

Guardian 5V. 1.9
Its an all in one bot....