06-27-2017, 15:50 +0200
AuthorPost
CyBex  08-26-2004, 00:59   | [EGG] isreg(ular) Jabber  ICQ  AOL IM  Yahoo IM  MSN  Homepage
nie da
(Administrator)

Avatar

Member since 01/2004
260 Posts
Location: Berlin
return 1 when NICK is onchan and has no op and no voice else return 0                                                                                                                               
1
2
3
4
5
6
7
proc isreg {nick {chan ""}} {
    if {$chan!=""} {
        if {![isop $nick $chan] && ![isvoice $nick $chan] && [onchan $nick $chan]} {return 1} {return 0}
    } {
        if {![isop $nick] && ![isvoice $nick] && [onchan $nick]} {return 1} {return 0}
    }
}


mfG CyBex @ QuakeNet, UnderNet, EFNet, Freenode, euIRC, GameSurge & ShadowWorld - Files
This post was edited 1 times, last on 08-12-2009, 21:10 by thommey
Advanced options for this topic:

Ignore this topic (Do not list this topic in the "unread topics" search. You are currently not ignoring this topic.)
Hide this topic (Hidden topics are not displayed in the topics list. This topic is currently not hidden.)
Go to forum

Unclassified NewsBoard 1.5.3-d | © 2003-4 by Yves Goergen