I made a real simple away script that tells someone who queries me that i am away. However, every time they type a line of text, i send them back a message, which can get annoying, as some people will do it over and over and i will flood, and i get kicked off some servers for this.
on *:TEXT:*:?:{
if (%awaystatus != $null) {
/query $nick I am not here right now. Away for $duration($calc($ctime - %awaytime))
}
}
How can i make this tell them i am away the first time they query me, and not do anything the next time, or after a certain period of time.
I hope I was clear on what I want to do, and that you can help me. Thanks