|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
Joined: Aug 2003
Posts: 148 |
is there a way i can see myself leave and enter a room?
_________ may death strike you.
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
ON *ME:JOIN:#: {
echo -ta I have entered # $+ .
}
ON *ME:PART:#: {
.timer 1 1 echo -ta I have left # $+ .
}
|
|
|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
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.
|
|
|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
Joined: Aug 2003
Posts: 148 |
i mean make my own quit/part message message so i see it
_________ may death strike you.
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
ON *ME:PART:#: {
.timer 1 1 echo -ta You have left # -- $1-
}
ON ^*:ERROR:*: {
echo -ta You have left IRC -- $1-
haltdef
}
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
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>:
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
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
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. Korn18: Use Hammer's version.
|
|
|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
Joined: Aug 2003
Posts: 148 |
yeah hammers is what i wanted thank you for your help
_________ may death strike you.
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
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?
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
Joined: Aug 2003
Posts: 148 |
[x] Keep channels open
_________ may death strike you.
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,321 |
Not if you /part the channel.
DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
|
|
|
|
Joined: Aug 2003
Posts: 148
Vogon poet
|
OP
Vogon poet
Joined: Aug 2003
Posts: 148 |
_________ may death strike you.
|
|
|
|
|
|