|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i use a script to find an address of a certain person.
alias faddress { .who $2- } raw 352:*:{ echo -a *!* $3 $+ @ $+ $4 | halt } when i use halt shouldnt that halt the next incoming raw 352's? so it will only return 1 address even if that user is in 5 channels?, does anyone know how to halt a raw if there are another 3 replies?
new username: tidy_trax
|
|
|
|
Joined: Feb 2003
Posts: 79
Babel fish
|
Babel fish
Joined: Feb 2003
Posts: 79 |
alias faddress { .who $2- } raw ^352:*:{ haltdef echo -a *!* $3 $+ @ $+ $4 halt }
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
now it doesnt return anything.
new username: tidy_trax
|
|
|
|
Joined: Feb 2003
Posts: 79
Babel fish
|
Babel fish
Joined: Feb 2003
Posts: 79 |
raw 352:*:{ haltdef echo -a *!* $3 $+ @ $+ $4 halt }
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
now it did the same as the orignal. thanx anyway btw .
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
Joined: Mar 2003
Posts: 1,271 |
Well, what he tried is pretty much pointless anyway. Halt halts execution of the script at that point. That doesn't mean if another 352 triggers the event won't triggers, cause technically you'd be in a different loop then. Nor will halt prevent the raw event from outputting what it's supposed to output -- that's what haltdef is for. I am not exactly sure what it is you're after, but assuming your $2- is a nick, there will be only 1 352 triggered for your /who command, no matter how many channels he is in. If you want the raw 352 to trigger only when you issue the /faddress, then you need to set something up with a group that you can disable or a variable.
alias faddress {
[color:green]; set the variable that enables the 352 to be customized[/color]
set [color:red]%faddress[/color] 1
[color:green]; the $2- is pointless as /who only accepts ONE argument.
; also: if you type /faddress [nick-here], the nick will be $1 and not $2[/color]
who $1
}
alias 352:*: {
[color:green]; trigger only if the variable exists[/color]
if ([color:red]%faddress[/color]) { echo -a *!* $3 $+ @ $+ $4 }
[color:green]; clear the variable[/color]
unset [color:red]%faddress[/color]
[color:green]; haltdef is optional: since you won't see the default output there's little use in using haltdef[/color]
haltdef
}
or, with groups:
alias faddress {
[color:green]; enable the group with the raw 352 in it[/color]
.enable [color:red]#whoout[/color] 1
[color:green]; the $2- is pointless as /who only accepts ONE argument.
; also: if you type /faddress [nick-here], the nick will be $1 and not $2[/color]
who $1
}
[color:green]; the following only triggers if the line reads[/color] [color:blue]#whoout on[/color]
[color:red]#whoout off[/color]
alias 352:*: {
echo -a *!* $3 $+ @ $+ $4
[color:green]; haltdef is optional: since you won't see the default output there's little use in using haltdef[/color]
haltdef
[color:green]; disable the group[/color]
.disable [color:red]#whoout[/color]
}
[color:red]#whoout end[/color]
DALnet #Helpdesk I hear and I forget. I see and I remember. I do and I understand. -Confucius
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
ah dunno why i didnt think of that, thanx
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 124 |
pheonix is a msn chatter. therefor since questions about MSN aren't answered here i recommend you should stop asking questions here.
btw: doing a /who nick on msn can return more than one since the max. rooms per connection that can be joined is 1.
so it's clear what network he wants to use that on ..to me anyway.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
hmm, what did my question have to do with msn? when i /who <nickname> it returns an address for each channel that they are in, i only want it return 1 address, so i needed to find a way of stopping it replying more than once, which is what locutusofborg gave me.
Last edited by pheonix; 07/08/03 07:46 AM.
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 124 |
per connection only 1 room can be joined, so if you want to join 5 rooms you have to connect 5 times, so if you do /who nick you get 5 replies while on another IRC network you'd only get 1 reply anyway.
"when i use halt shouldnt that halt the next incoming raw 352's? so it will only return 1 address even if that user is in 5 channels?, does anyone know how to halt a raw if there are another 3 replies"
^^ pretty obvious heh.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i was about to prove to you that i can join multiple rooms on the server i go on but due to the advertising policy ill just ignore you.
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 124 |
yes , we know that's also why you took that pic out pointing to the big "use mirc on msn chat" resource "exonyte's realm" isn't it.
just stop attemtping to fool there people on here. I know you're going to use this for MSN.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
as ive also said: i dont use msn any more, but im willing to help people that do, i just wont help them on these forums any more because i found out its one of the forums policies. edit: i remove that avatar because i dont use msn any more.
Last edited by pheonix; 07/08/03 07:59 AM.
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 124 |
i at least haven't seen any network other than M$N triggering raw 352 several times by doing a /who nickname. if your network does so please tell me the server address and i'll check it out myself.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 2,265 |
any ircX server, quite a few to choose from. msn = ircX but ircX != msn
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 124
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 124 |
exchange chat 5.5/6.0 doesn't do it , ircxPro doesnt do it either, same goes for ircx.nu.
you're running out of arguments dude. :tongue:
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
If I was you Phoenix, I would have given up agesssss ago.
|
|
|
|
Joined: Dec 2002
Posts: 3,127
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,127 |
You have been well aware for a long time of that policy and have done your best to evade it. Now enough is enough, once again you have managed to get a thread closed due to your bickering
ParaBrat @#mIRCAide DALnet
|
|
|
|
|