This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Check if a nick is +r (registered).

Old posts that have not been replied to for several years.
Locked
g
genius3k

Check if a nick is +r (registered).

Post by genius3k »

I cannot figure out how to make tcl check if a nick on IRC has umode +r on it. I am sure I have done this before but completely forget how and cannot find a script anywhere about it. Anyone know how to accomplish this?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Do a whois on the user and using the raw 330 get that *logged in as* msg.
Once the game is over, the king and the pawn go back in the same box.
User avatar
Dereckson
Voice
Posts: 20
Joined: Thu May 30, 2002 8:00 pm
Location: Belgium
Contact:

Post by Dereckson »

Code: Select all

bind raw - 330 raw:330

proc raw:330 {from key arg} {
	#To have the nick, [lindex $arg 1]
	#To have the login, [lindex [split $arg] 2]
}
Sébastien Santoro
g
genius3k

Yah i did a whois and used a raw...

Post by genius3k »

But it was raw 307 for my server, i didn't want to do that at first, but after i did i noticed it was really simple, so thanks anyways.
Locked