mIRC Home    About    Download    Register    News    Help

Print Thread
#21932 02/05/03 11:11 AM
Joined: Dec 2002
Posts: 174
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
one last question,

is there also a way to do an if statement if someone is in user mode of being regisstered to nickserv?

like if ($2 == +reg?)

any ideas?

Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
I guess you might be able to use raw's and whois the person... but not sure how this can be done coz I don't rember the raw numbers laugh Note thiat this might lag you if you whois too many ppls in a main channel... You might wanna take all whois' to a @window

Good luck!

Joined: Dec 2002
Posts: 174
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
is there a user mode identifyer like umode?

Joined: May 2003
Posts: 7
J
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
J
Joined: May 2003
Posts: 7
$usermode
on *:usermode:{

smirk

Joined: Dec 2002
Posts: 174
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
that only works on you,
i need it to work on other people.

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Yea for yourself it's $usermode, but for other nicks, you'll have to /whois them one by one and capture the "has identified to the current nick" raw.

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Some networks have +r some have +R. In some cases one means identified to the nickname and the other means actually using the name identified to or vice-versa. You need to work out what applies to your network and use if (+r isin $usermode) for example.

Joined: Dec 2002
Posts: 174
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
is there a way to get that to work on other ppl not just yourself?

Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
You can't see other user's modes, unless you're IRC Oper and the server supports it.
You'd have to use raw for "has identified for this nick" (or similar) whois line.

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Monosex is correct here, get your script to whois them and work from raw 307

If you are an oper you still can't work with an identifier, you have to /mode <nickname> then load the result into a variable from raw 324 (as Monosex said - if your IRCd supports it) and work with that.

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
yes but the way you said it looks like this:
code:
if ($2 isreg $chan) {


new username: tidy_trax

Link Copied to Clipboard