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