Old 02-14-2004, 12:06 AM   #1
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default ioDONATE

ioDONATE was done cause i need it ... if someone needs it too ... here ya go ...

Usage : site donate <user> <credits> (in MB)


1) Configure ioDONATE.ini
2) add CREDIT=%.[credits(mega)] to ioftpd.env
3) For Announce :

- Open up dzsbot.tcl

- Add 'DONATE' the 'set msgtypes(DEFAULT)'-line, so it looks kinda like this:

set msgtypes(DEFAULT) "INVITE LOGIN LOGOUT REQUEST REQFILLED REQDEL GIVE TAKE WARCWIPE WARCMOVE DONATE"

- Add 'set disable(DONATE) 0' to the MSGTYPE list.
For example you can put them just above 'set disable(DEFAULT) 0' so u get the following:

set disable(DONATE) 0

- Add these to the variable-list, so you get something like this (TAKE and DEFAULT should already be there):

set variables(DONATE) "%usergive %userget %mb"

- Add these to the announce-list, so you get something like this (IRCSTATS and DEFAULT should already be there):

set announce(DONATE) "-%sitename- \[DONATE\] + %bold%usergive%bold donates %bold%mb%boldMB to %bold%userget%bold"

(You can change the announces to your liking)

- Rehash your windrop

thats it ..
hot_pit is offline   Reply With Quote
Old 02-14-2004, 02:57 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Word of warning to users of this script:

CREDITS cookies returns credits available in current section... so if you're in /pre/ and SITE DONATE ..., it will try to use credits from the /pre/ section (if there is one!)
Be careful what section you're in when u try to donate.

fuka: if u use CREDITS env var to check if the guy has enough credits to donate, make sure u decrement the right credit section (available in creditssection cookie)...
Mouton is offline   Reply With Quote
Old 02-14-2004, 09:34 PM   #3
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
Originally posted by Mouton
Word of warning to users of this script:

CREDITS cookies returns credits available in current section... so if you're in /pre/ and SITE DONATE ..., it will try to use credits from the /pre/ section (if there is one!)
Be careful what section you're in when u try to donate.

fuka: if u use CREDITS env var to check if the guy has enough credits to donate, make sure u decrement the right credit section (available in creditssection cookie)...
you 100% right hehe .. but i made this app for my site and i only use 1 creditsection ... and here works great .. but thxn for tip
hot_pit is offline   Reply With Quote
Old 03-01-2004, 02:34 PM   #4
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

fuka, would you post this script on scripts page? Tnx.
Zer0Racer is offline   Reply With Quote
Old 03-01-2004, 02:38 PM   #5
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

sure ... if anyone wanna download it heres the url : http://www.ioftpd.com/scripts/script.php?id=60
hot_pit is offline   Reply With Quote
Old 03-03-2004, 02:45 PM   #6
Grill-B
Junior Member
 
Join Date: Jan 2004
Posts: 2
Default

how to set announce for iobanana? :banana:
Grill-B is offline   Reply With Quote
Old 03-03-2004, 03:05 PM   #7
biboun
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Mar 2003
Posts: 87
Default ;)

Like Dzbot, its easy to change for iobanana.

Read the first post.
biboun is offline   Reply With Quote
Old 05-09-2005, 03:06 PM   #8
tagsarang
Junior Member
 
Join Date: Feb 2005
Posts: 6
Unhappy script donate script error?

ioFTPD + iobanana + ioA version..

hey.. donate Script error.?

ioDONATE.exe --> error.

FlashFXP Cmd

ex) site donate test 100 enter „£

error ioDONATE.exe error massge..

Must use how?????????

tagsarang is offline   Reply With Quote
Old 07-20-2005, 02:28 PM   #9
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

could this be reupped?
ChipMunk666 is offline   Reply With Quote
Reply

Tags
add, default, disabledonate, donate, set

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:08 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)