would a simple on TEXT be enough for what you want? Like:

if ($istok($1-,deep,32)) { msg $chan Deep is away }

You might also have a first "if" statement before this one that would check if a variable was set for you being away. You'd set the variable on in the away alias. You might also want a "back" alias that unsets your variable. I actually wrote an alias for when I quit, so that all the variables that I set while I was logged in get unset before I quit.

I'm new to this, so I don't know much beyond the basics. Hope that helps.

Last edited by bwr30060; 31/05/05 04:41 PM.