mIRC Homepage
Posted By: nake theme system - 02/03/05 06:49 PM
I am crating an theme system and i want to know if anyone knows the code so it tells me that the person that i had a chat with that person tell me again that they have reconnected but in the query where i had ac hat with them
Posted By: SladeKraven Re: theme system - 02/03/05 06:55 PM
Hi Nake,

Sorry mate I don't understand what you mean, can you be more specific?

Do you mean Notify?

/notify <Nick>

Code:
on 1:Unotify: {
  if ($query($nick)) {
    echo 7 -t $nick $nick has logged out.
  }
  else { 
    echo 7 -at $nick has logged out 
  }
}

on 1:Notify: {
  if ($query($nick)) {
    echo 7 -t $nick $nick has logged in.
  }
  else { 
    echo 7 -at $nick has logged out. 
  }
}


This echoes $nick has logged in/out in the private message. Hope this what you meant.
Posted By: malis Re: theme system - 02/03/05 07:53 PM
what i mena is that when i am having a query and the person quits i want it to echo to me that the person has rejoined the server smothing like this:
<test>see ya
<nake>see ya
test(at@232934-dalnet-isp .tk) has quit irc
and if the person reconnects to the server i want it to say to me
test(at@232934-dalnet-isp .tk) is back online again
This is all in the query
Posted By: SladeKraven Re: theme system - 02/03/05 08:27 PM
Well you could do something like this, but other than that I have no idea how else I could do it, sorry. frown

Code:
On *:Quit: {
  if ($query($nick)) {
    notify $nick 
    echo 7 -at $nick has logged out.
  }
}

On *:Notify: {
  if ($query($nick)) {
    notify -r $nick
    echo 7 -t $nick $nick has logged in.
  }
}
© mIRC Discussion Forums