I want to echo my dcc info in my script so from the helpfile i found this:
$get(N/nick,[N])
Returns the nickname and filename of the Nth open dcc get window.
I've tried a few commands and nothing returns
I found //echo $get(1).file seems to work fine but thats only if i have one dcc get. What If i had lets say, 5 dccs coming at the same time, how would i be able to echo that?
It will be better not to use $addtok as that will only list one get from each person even if you have two gets with a single person.
alias listget {
var %x = $Get(0), %get
while (%x) {
%get = %get $get(%x)
dec %x
}
echo -a DCC Gets: %get
}
I just assumed they'd want it to list the names as I did it. And seperated by a space. Good point though.
thanks for the help i'll try it
I like that, another thing i could think of to add to that, is to make it show a more complex stats bit, showing a progress bar everytime you list gets and send with a percentage of how much has been done