mIRC Home    About    Download    Register    News    Help

Print Thread
#42889 19/08/03 01:23 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
is there a way i can see myself leave and enter a room?


_________
may death strike you.
#42890 19/08/03 01:36 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Code:
ON *ME:JOIN:#: {
  echo -ta I have entered # $+ .
}
ON *ME:PART:#: {
  .timer 1 1 echo -ta I have left # $+ .
}

#42891 19/08/03 01:40 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
thank you, but i have a couple questions...why is there a timer? and how can i show me leaving or parting like the other people will see it? what about when i quit?


_________
may death strike you.
#42892 19/08/03 01:57 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
The timer is to stop the echo going to the room you have just left and is only needed for the PART event.

If you wanted other people to see your event then you'd ditch the timer and change ECHO to MSG # but they will already see that you are coming and going via their own events so I doubt this would be necessary.

As for quitting I just run an ON ERROR:QUIT but I don't know if my version of this is suitable for all IRCds.

#42893 19/08/03 02:04 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
i mean make my own quit/part message message so i see it


_________
may death strike you.
#42894 19/08/03 04:11 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Code:
ON *ME:PART:#: {
  .timer 1 1 echo -ta You have left # -- $1-
}
ON ^*:ERROR:*: {
  echo -ta You have left IRC -- $1-
  haltdef
}

#42895 19/08/03 04:57 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Do you have a "ME" userlevel? I do not. When I used your on JOIN/PART events, it fired for everyone. I presume you meant to use the format:

on me:<prefixes+userlevel>:<EVENT>:
Code:

on me:^*:JOIN:#:{
  echo $color(join) -bflirt $chan * Joins: $nick ( $+ $address $+ )
  haltdef
}
on me:^*:PART:#:{
  if $1 { var %reason = ( $+ $1- $+ ) }
  echo $color(part) -bflirt $chan * Parts: $nick ( $+ $address $+ ) %reason
  haltdef
}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#42896 19/08/03 05:14 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I did too, my fault for only testing it on myself and that is very unlike me. blush

Korn18: Use Hammer's version.

#42897 19/08/03 05:57 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
yeah hammers is what i wanted

thank you for your help grin


_________
may death strike you.
#42898 19/08/03 06:06 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Code:
on me:^*:PART:#:{ 
 if $1 { var %reason = ( $+ $1- $+ ) }  
echo $color(part) -bflirt $chan * Parts: $nick ( $+ $address $+ ) %reason 
 haltdef
}


Umm won't echoing it to $chan have no effect since right after the part, the window is closed?

#42899 19/08/03 06:10 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
It will echo the line into the channel before the channel is closed. The net effect is that your logs get updated with you parting the channel, plus any part message you used. If you look fast enough, you can see yourself part the channel.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#42900 19/08/03 06:31 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
[x] Keep channels open

smile


_________
may death strike you.
#42901 19/08/03 06:51 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Not if you /part the channel.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#42902 19/08/03 06:59 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
o


_________
may death strike you.

Link Copied to Clipboard