Release/Request Bot
 

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

Release/Request Bot

Started by jiten, 26 March, 2006, 12:55:40

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten

    Release/Request Bot v3a - LUA 5.0.2/5.1 by jiten (3/27/2006)

    Some Features:


  • Switch from Release to Request or other custom Mode; *new*
  • Each mode supports pre-defined categories; *new*
  • Automatic cleaner for each category (optional); *new*
  • Separate dbs/folders for each Mode;
  • Custom separator for entries;
  • Send latest posts on Connect (optional);
  • Custom prefix for each Mode;
  • RighClick sent in alphabetical order - Place a number behind the command to customize sending order (Delete --> 1. Category); *new*
  • And much more...

    Recent Changelog:


  • Changed: Bot supports custom Modes besides Release and Request (NEW);
  • Changed: Major rewrite to the Code;
  • Removed: Lots of unnecessary code;
  • Added: Comments to the code;
  • Changed: Command parsing and table structure;
  • Removed: Levels table;
  • Changed: RightClick is sent in alphabetical order;
  • Changed: Cleaner;
  • Changed: Other mods;
  • Added: Add, Show and Del Categories; Top Voter, Top Poster and Clear Votes commands;
  • Added: Cleaner for each Category;
  • Changed: RightClick is sent in alphabetical order;
  • Changed: Other mods;
  • Fixed: Missing prefix in showcat?s RC and Example;
  • Added: Timed Category content to main in a custom interval;
  • Added: Existing Categories for bExtend commands in RightClick - requested by BrotherBear (3/27/2006)


    Grab it
HERE.[/list]

Psycho_Chihuahua

#1
and as of now also here -->
    Grab it from Ptx Scriptdb
HERE.[/list]
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

zinden

Xion++ - Where it all begins
http://www.zinden.net

jiten

Quote from: zinden on 26 March, 2006, 14:01:53
!showcat? dont work

Indeed. It depends on the Mode and Prefix you've chosen.

The default prefix for Request is "req" and for Release Mode is "rel".

So, the commands would be !prefixcommand. Example: !relshowcat; !reqshowcat; and so on.

zinden

ahh ok.....then its possible to run 2 scripts on this?
one for release and one for requests?
or will that be any probs?

Edit: when creating catagories, you can fill in days....is that days for the exist of cataogry or exists of the releases in that catagory?
how to disable it?
Xion++ - Where it all begins
http://www.zinden.net

jiten

Quote from: zinden on 26 March, 2006, 14:13:20
ahh ok.....then its possible to run 2 scripts on this?
one for release and one for requests?
or will that be any probs?
Yes, it's possible and there won't be any problem. It's meant to be compatible :)

Quote from: zinden on 26 March, 2006, 14:13:20
Edit: when creating catagories, you can fill in days....is that days for the exist of cataogry or exists of the releases in that catagory?
how to disable it?
The day value is directly related to the cleaner. When the releases are "x" days old, they will be deleted.
If you want to disable the cleaner, set:

bTimer = false,


or

Type: !<prefix>setup cleaner off (where <prefix> is the Mode's one)


BrotherBear

#6
Quote from: jiten on 26 March, 2006, 14:11:11
Quote from: zinden on 26 March, 2006, 14:01:53
!showcat? dont work

Indeed. It depends on the Mode and Prefix you've chosen.

The default prefix for Request is "req" and for Release Mode is "rel".

So, the commands would be !prefixcommand. Example: !relshowcat; !reqshowcat; and so on.

Hi jiten!

WHen I use Showcat command via RC this appears in Main:

!showcat

and nothing happens, but when I type !reqshowcat it shows up,

Tried to change in the Req script

showCatCmd = "showcat",? ? to? ?showCatCmd = "reqshowcat",

But it does not work either.


Regards,

BroherBear
Regards,

BrotherBear

BrotherBear

I did a work around to get it to work:

      tRC = "Show\\Categories$<%[mynick]> !"..Settings.showCatCmd

      tRC = "Show\\Categories$<%[mynick]> !req"..Settings.showCatCmd

Added req before !
Regards,

BrotherBear

BrotherBear

#8
What do I have to change in the Script to get it as an Request Bot then?

I have set this:

   sMode = "Request",

Is it anything else to change to get it to work in Rightclick with !showcat to !reqshowcat?
Regards,

BrotherBear

jiten

Quote from: BrotherBear on 26 March, 2006, 17:39:39
What do I have to change in the Script to get it as an Request Bot then?

I have set this:

   sMode = "Request",

Is it anything else to change to get it to work in Rightclick with !showcat to !reqshowcat?

That's my fault. I forgot to add tPrefix to Settings.showCatCmd' tRC and sExample. It should be like this:

sExample = "\t!"..tPrefix..Settings.showCatCmd,
tRC = "Show\\Categories$<%[mynick]> !"..tPrefix..Settings.showCatCmd


BrotherBear

Quote from: jiten on 26 March, 2006, 18:31:04
Quote from: BrotherBear on 26 March, 2006, 17:39:39
What do I have to change in the Script to get it as an Request Bot then?

I have set this:

   sMode = "Request",

Is it anything else to change to get it to work in Rightclick with !showcat to !reqshowcat?

That's my fault. I forgot to add tPrefix to Settings.showCatCmd' tRC and sExample. It should be like this:

sExample = "\t!"..tPrefix..Settings.showCatCmd,
tRC = "Show\\Categories$<%[mynick]> !"..tPrefix..Settings.showCatCmd



Ok, I'm glad that it is fixed now, Thanks jiten :)
Regards,

BrotherBear

jiten

First post updated with some fixes/additions.

BrotherBear

Is this true!!!!

You are the man of Universe jiten :)

Yeeeeehaaaaa, I'm so happy, happy, happy :)
Regards,

BrotherBear

BrotherBear

One little change and I am happier then above :D

When I have created Categories and users can add Rel/req I would like to get rid off:

Release Bot/Add/RELEASE/DVDr

A RELEASE I already know that it is :)

Thank you VERY MUCH for this wonderful Script :)
Regards,

BrotherBear

jiten

Quote from: BrotherBear on 27 March, 2006, 20:46:31
One little change and I am happier then above :D

When I have created Categories and users can add Rel/req I would like to get rid off:

Release Bot/Add/RELEASE/DVDr

A RELEASE I already know that it is :)

Thank you VERY MUCH for this wonderful Script :)

As I explained, you just need to edit/rename each Commands' tRC according to your needs. That should do it.
By the way, you're quite welcome, mate :)

Regards

BrotherBear

Thanks jiten :)

Now I am Totaly satisfied :)
Regards,

BrotherBear

BrotherBear

Now I have used Release/Request Bot in my hub for a time and I just love it :)

Try it out folks :)
Regards,

BrotherBear

YouAlreadyKnow

iv bin useing this script for some time now and love it but a few of my users just now told me they cant add rel/req
and i made a test account to see if it was true and it is...what do i need to chang in the script so all my users can add rel/req ?

thanks for any help

YAK

jiten

Quote from: YouAlreadyKnow on 30 May, 2006, 02:47:54
what do i need to chang in the script so all my users can add rel/req ?

Search for [Settings.addCmd] that can be found under tCmds and you'll see a table like this:

tLevels = {
	[0] = 1,
	[1] = 1,
	[4] = 1,
	[5] = 1,
},


These are the profiles allowed to use the addCmd. Therefore, to allow normal users (I suppose, unregistered), just add [-1] = 1, to it.

CrazyGuy

Gonna play with this 1 too Jiten  8)

Be afraid..... be very afraid  ;D hehe

jiten

Quote from: CrazyGuy on 30 May, 2006, 12:12:43
Gonna play with this 1 too Jiten? 8)

Be afraid..... be very afraid? ;D hehe

Surely, mate. By the way, any progress? :P

CrazyGuy

To be honest, I haven't been able to cause any troubles with this 1 yet  :P
On the other hand, not sure if the script fits my needs, but it's something similair like that anyways.
I'll go over that with ya some day soon and maybe you can make it for me then  ???


GrinSlaW

hello jiten :)

how do i get rid of the vote system ? or at least the commands in rightclick and the help menu :)

cheers
.:: AcExtreme ::. | .:: AcPro ::.

jiten

Quote from: GrinSlaW on 27 June, 2006, 18:20:44
how do i get rid of the vote system ? or at least the commands in rightclick and the help menu :)

Well, the easiest way is to comment the functions related to the Vote system in the tCmds table.

GrinSlaW

oki will try that, tnx :)

cheers
.:: AcExtreme ::. | .:: AcPro ::.

SMF spam blocked by CleanTalk