Custom Freshstuff Please..
 

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

Custom Freshstuff Please..

Started by PlayboyDee, 25 May, 2004, 22:50:43

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PlayboyDee

Hi,
I need a custom Freshstuff.   I tried looking for some, but it seems like when I find the one i want, they end up changing it. (lol)  But what I want should be simple.  I need a Freshstuff thats pretty much like the old version.   Where you type +new in the main chat and it shows the newest "stuff".  And also, have it to where anyone can add new stuff.  Maybe a top poster command would be fine also.   Thanks in advance.

plop

my latest freshstuff 4.x can do most of it allready, but i'll keep these things in mind for the next version.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

PlayboyDee

Do you have your old one lying around?  All the commands I want are:
+add (to add something)
+new (to view new stuff)
+del (to delete an item number)
+topposters (to view who posted the most)
Everyone had access to post.
I used to have one, not sure who made it, that had those commands. But I lost it.  :(

plop

1st url in my signature has nearly all the scriprs i made (lost a lot as i never saved those. lol)
i think you want version 3.x.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

bliskner

is there a possiblilty you could convert the latest freshstuff to BCDC client side? i tried the 3.3 on your homepage but it doesn't seem to work with BCDC++ 401(?)

thx :)

plop

it's running fine on our network on bcdc 0.401b.
i'm still working on the 4.x serie, once it's finished i'm gone convert it 2 bcdc.
this because i don't want 2 convert it on every version.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

bliskner


FlatLynr

PlayboyDee, this isn't a complete solution for you, but I wanted some of the same features (i.e. anyone able to add new releases to the album) so I had a little look into the script. I should point out that I'm only learning lua, so this is definately a duck-tape job  :P

I moved the command to add new releases out of the 'elseif' check for ops and moved it up out of the check.

Move the section below:
        elseif cmd == cmd1 then
             if tune ~= "" and Types[typ] then
                 SendPMMsg( hub, user, AddRel(user, tune, typ) )
                 --user:sendPrivMsgFmtNoWin( AddRel(user, tune, typ) )
             elseif Types[typ] == nil then
                 SendPMMsg( hub, user, "I need to know the catagory to add it to!" )
                 --user:sendPrivMsgFmtNoWin( "I need to know the catagory to add it to!" )
             else
                 SendPMMsg( hub, user, "yea right, like i know what you got 2 add when you don't tell me!" )
                 --user:sendPrivMsgFmtNoWin(  "yea right, like i know what you got 2 add when you don't tell me!" )
             end
             return 1


from below the
       elseif user:isOp() then

to the line above it. This lets any user add a new release but still requires an OP to delete or reload. I hope this helps you a little, it did the job in my hub. The only problem I forsee is that this now leaves it open to abuse but I've covered that by including a new hub-rule that abusing my BOT leads to a kick or ban, seems to have worked so far.

On a related note, I've put all the view/add commands into a right-click menu for my hub via an [adv] textfile with $usercommands (I'm running Yhub) & it seems to be a great success.

Plop, I bow down to you, freshstuff is an absolute masterpiece & I look forward to the new version with baited breath. It almost makes me want to switch to Ptokax  :D
[LeGioN?][RAR]FlatLynr

SMF spam blocked by CleanTalk