--[[
Bulletin Board v1.0 - LUA 5.0/5.1 by jiten (6/4/2006)
??????????????????????????????????????????
Based on: Release/Request Bot v.4.04
Requested by: CrazyGuy
DESCRIPTION:
????????????
- Add, Delete, Show and Lock threads;
- Add, Delete, Show and Find posts;
- Show Top Posters;
- Also supports User Commands.
]]--
Lets hope it suits CrazyGuy's request, afterall, he's "Crazy" nobody knows what that mind thinks. ;D
With PtokaX DC Hub 0.3.4.0l0 i have this error after 2 threads and 1 rejoin
Quote...scripts\Bulletin.lua:423: attempt to compare two nil values
Quote from: tacker on 14 June, 2006, 13:58:22
With PtokaX DC Hub 0.3.4.0l0 i have this error after 2 threads and 1 rejoin
Quote...scripts\Bulletin.lua:423: attempt to compare two nil values
Seems like your tBulletin.tbl file is corrupt.
Unload script, delete the above mentioned .tbl and load it again.
If this doesn't help, please paste the .tbl content so that I can trace the error.
Quote
Lets hope it suits CrazyGuy's request, afterall, he's "Crazy" nobody knows what that mind thinks. ;D
suits perfectly m8 ;)
Great job Jiten 8)
Good to know, lets hope u dont "break" it so soon.
Quote from: CrazyGuy on 23 June, 2006, 13:35:45
suits perfectly m8? ;)
Great job Jiten? 8)
I'm glad it suits your needs.
And, don't mention it. You're welcome, CG :P
Plz modify this script to be matched with Levianthan profiles. Owner profiles is missing. :( Just show what to modify I ll modify according your instructions so you dont have to paste whole script again :D
Quote from: Prathmesh on 21 September, 2006, 05:34:25
Plz modify this script to be matched with Levianthan profiles. Owner profiles is missing. :( Just show what to modify I ll modify according your instructions so you dont have to paste whole script again :D
For example, if you want the
Owner to use the 'showthread' command, you must add its profile number
[6] followed by
= 1, to its tLevels table. See below:
[Settings.showthread] = {
tFunc = function(user)
-- tThread table isn`t empty
if next(tThread) then
local msg, tTable = "\r\n\r\n".."\t"..string.rep("=",80).."\r\n\t\t\t\tCurrently Available Threads:"..
"\r\n\t"..string.rep("-",160).."\r\n", { [0] = "closed", [1] = "open" }
-- For each pair in it
for i,v in pairs(tThread) do
msg = msg.."\t ? "..string.upper(string.sub(i,1,1))..string.sub(i,2,string.len(i))..
" *"..tTable[v].."*\r\n"
end
user:SendData(Settings.sBot,msg)
else
user:SendData(Settings.sBot,"*** Error: There are no Threads!");
end
end,
tLevels = {
[0] = 1,
[1] = 1,
[4] = 1,
[5] = 1,
[6] = 1,
},
sDesc = "Shows Threads",
sExample = "\t!"..Settings.showthread,
tRC = "Show\\Threads$<%[mynick]> !"..Settings.showthread
},
By the way, from now on I'll always add this profile to every script I touch.
Thanx very much this script is ultracool ! ! ! :)
I'm glad you like it.
Loved the script jiten... like always..
you did good
:D