hi guys,
i have here a little script wich should be do a msg to a user that query me but only the away modus works correct and i dont know where the mistake is, pls help me:
on *:OPEN:*:{
if (%ign == 1) { msg $nick 0,1|-9N8o.9Q8ueryS.9P8lease0,1-|-9I8'm.9N8/A.9Q8uerylog:ON0,1-| }
if (%ign == 1) { /closemsg $nick }
if (%ign == 1) { /write query.txt $nick am $date um $time Uhr }
if (%ign == 1) { /write query.txt $1- }
if (%ign == 0) { msg $nick 3::: 14Query14 N°3 $query(0) 3::: 14(14NOTE:03 Please wait 14/3 if I don't answer I'm away14) 3::: }
else { halt }
}
menu channel {
Query.Ignore
.on:/set %ign 1
.off:{ /set %ign 0
/run query.txt
}
}
so long