Bulletin Board
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Bulletin Board

Started by jiten, 13 June, 2006, 07:52:38

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten

--[[

	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.

]]--

Dessamator

Lets hope it suits CrazyGuy's request, afterall, he's "Crazy" nobody knows what that mind thinks.  ;D
Ignorance is Bliss.

tacker

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

jiten

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.

CrazyGuy

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)

Dessamator

Good to know, lets hope u dont "break" it so soon.
Ignorance is Bliss.

jiten

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

Prathmesh

#7
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


jiten

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.

Prathmesh

Thanx very much this script is ultracool ! ! !  :)

jiten


JueLz

Loved the script jiten... like always..
you did good
:D
I am owner of the MzDistortion? Empire
the addy to my hub is mzdistortion.no-ip.org
____________________________________________
--=                        [HT 500]                          =--

SMF spam blocked by CleanTalk