mIRC Homepage
Posted By: LostServ bit of help please :) - 15/02/05 01:53 PM
Code:
on 1:text:!idle *:#: {
  .whois $2 $2
  set %idlechan $chan
}
raw 317:*: {
  msg %idlechan $deltok($deltok($1-,5-8,32),1-3,32)
  unset %idlechan
}


It returns a large number, i assume in seconds so i tried to wrap $duration() around it and it came up with more than the actual idle time. Can someone help me out? smile
Posted By: FiberOPtics Re: bit of help please :) - 15/02/05 01:55 PM
msg %idlechan $duration($3)
Posted By: LostServ Re: bit of help please :) - 15/02/05 01:59 PM
lol so much simpler, it works, thanks fiber
Posted By: FiberOPtics Re: bit of help please :) - 15/02/05 02:02 PM
Welcome,

btw you could add a small flood protection so that people can't abuse this script. Perhaps also a little something to not do a whois x times in y seconds on the same person, or an amount of z people.

These are only suggestions though, it's your script smile

Cya
Posted By: LostServ Re: bit of help please :) - 15/02/05 02:04 PM
im just messing around with different stuff in mirc script..i dont plan on using it too much
Posted By: dunkelzahn Re: bit of help please :) - 15/02/05 02:37 PM
Don't forgot to make at the end of a raw a "halt" command to stop the default display
© mIRC Discussion Forums