$address problem - 04/10/06 02:08 PM
I have a problem with the $address identifier. I like to check the host from the user who start a PM or a DCC Chat. So I use this code for PM:
on *:OPEN:?:*:{
echo -s $address($query($nick),3)
}
and this for DCC Chat:
on *:OPEN:=:*:{
echo -s $address($chat($nick),3)
}
When I open a PM or a DCC Chat with my Bot I get this error: * /echo: insufficient parameters (line 2, test.mrc)
Now I don't know how I can read the host from the user, is it a bug or I have do something wrong?
on *:OPEN:?:*:{
echo -s $address($query($nick),3)
}
and this for DCC Chat:
on *:OPEN:=:*:{
echo -s $address($chat($nick),3)
}
When I open a PM or a DCC Chat with my Bot I get this error: * /echo: insufficient parameters (line 2, test.mrc)
Now I don't know how I can read the host from the user, is it a bug or I have do something wrong?