Thanks for the quick reply, the !dostats would it be possible to add a hostmask for that command, so only 1 user could execute it?
And regarding the timer, the log isn't that big yet, so the generation of stats and uploads takes betqween 2-5 seconds, however, the timer idea sounds clever.
These two things, how would the code look like?
Once again, thanks for the quick reply.
*EDIT* I tried this:
on *:text:!dostats:#: {
run d:\server\pisg\pisg.bat
.timer 1 10 msg $chan Stats updated, check http://blabla.bla/
}
And it works, I know it might not be the best script, but it works.
Now I just need to add a nick or host to the !dostats command
so only a specified host or user can use the command, any help on this? I guess I could add an @ in on *:text:
But i'd really like to make so only one specific user can use it.