Hello,
I'd like my windrop to send a specific file on a given command.
Like someone type !send whatever.txt, and the bot will send the specified file. (All the files starting with "index_", it would be index_whatever.txt here)
I tried "dccsend c:/windrop/indexes/index_$arg.txt Nickname" but it didn't work .
I hope someone will be able to help me. Thanks in advance.
try a relative path like "indexes/index_$arg" and an absolute like "/cygdrive/c/windrop/indexes/index_$arg"
also check the return value of the proc, it might give you hints. also ensure to regsub | < and >, because they are special characters.