Excellent script cez!!! Good job on you first public script.... Just a few things i noticed... maybe you could fix:
Both sites running ioa 1.04, iob v 19, ioftpd 5.3.9r
1. After doing: !transfer rage test1 test2 1000 , I get the following message from my sitebot:
[00:35] <***> Connected to both sites.
[00:35] <***> After transfer test1 - 4000 MB -> test2 - -1 MB
Basically, the msg isnt returning the right amount... If i go on the sites and do site uinfo rage ... it takes the right amount of creds away, and gives the correct amount of creds.... but the msg returns -1 MB .... which should be whataver the amount is on the site....
2. If a user has 3000 MB creds on a site, and tries to transfer 4000.... then maybe can you change the message it gives from:
[00:41] <***> Connected to both sites.
[00:41] <***> Failed to take credits from rage
to something like:
Connected to both sites.
Sorry, you do not have enough credits to transfer ...
Just so the user knows why it failed?
Thanks man and keep up the good work,
rage2001
|