Josh` Posted March 4, 2005 Report Share Posted March 4, 2005 on ^*:notice:*:*:{ if ($1- == "AWAY") { echo # $nick is now away. } if ($1- == "BACK") { echo # $nick has returned. } else { echo # - $+ $nick $+ - $1- } haltdef } I'm having problems with this. I don't know why, but it just won't work lol.. Is there some kind of syntax wrong or if statement not correct in it? Thanks in advanced! ~Josh` Link to comment Share on other sites More sharing options...
Rhys Posted March 4, 2005 Report Share Posted March 4, 2005 on *:notice:*:*:{ if (AWAY isin $1-) { echo # $nick is now away. } if (BACK isin $1-) { echo # $nick has returned. } else { echo # - $+ $nick $+ - $1- } haltdef } Link to comment Share on other sites More sharing options...
Ozzy10 Posted March 4, 2005 Report Share Posted March 4, 2005 This is correct code on ^*:NOTICE:*:#: {  if ($1 == AWAY) && (!$2) { echo $chan $nick is away. | halt }  if ($1 == BACK) && (!$2) { echo $chan $nick  has returned. | halt } else { echo $chan $nick $1- | halt } } Link to comment Share on other sites More sharing options...
Josh` Posted March 4, 2005 Author Report Share Posted March 4, 2005 Thank you Ozzy's works better because of what he said in ChatsUSA lobby. (ozzy10) what happens if someone sends a notice and says "away for now" (ozzy10) then it will see that as a notice of away (ozzy10) when its not (ozzy10) not Just to give some people information on why Ozzy's is better who are having the same problem as me Thanks again guys ~Josh` Link to comment Share on other sites More sharing options...
TG007 Posted March 4, 2005 Report Share Posted March 4, 2005 Just to give some people information on why Ozzy's is better who are having the same problem as me oh you are going to puff up his already over inflated ego with that statement. Link to comment Share on other sites More sharing options...
Josh` Posted March 4, 2005 Author Report Share Posted March 4, 2005 rofl err0r Link to comment Share on other sites More sharing options...
Ozzy10 Posted March 5, 2005 Report Share Posted March 5, 2005 hes only upset cause i am walking mirc help file lol Link to comment Share on other sites More sharing options...
Guest Brock Posted March 14, 2005 Report Share Posted March 14, 2005 I dun get it meh..... btw why not just use RAWS for when they go away?? I beleive my nicklist(IRCx Version Coded 2 Yrs Ago) uses Raws. **Goes and reads his Nicklist Codes** If I find I give Link to comment Share on other sites More sharing options...
Ozzy10 Posted March 14, 2005 Report Share Posted March 14, 2005 raws for other users away on chatsusa are "on notice" cause thats what the ocx uses Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now