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.

get user flags

Old posts that have not been replied to for several years.
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

KrzychuG:
It seemed I hadn't?
But I told you I had.
I asked a question and gb gave me the answer. And then you come nagging after saying its in the manual. Its all in the manual!! some of it is just harder to find. thats why we have forums like this one.

]Kami[:
I setup my first conf entirely from the manual by myself, so I don't think It should be removed.

Weirdo:
wouldt that give me a list of users with a particular flag? I need a list of flags for a particular user.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

Dont specify a flag? use * for all flags?

then just find the user from the list
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

wouldnt that just give me a list of all the handles on the bot?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

This may help, a snippet of code I use in a script to get a list of bot users with a particular flag in a channel:

Code: Select all

putquick "notice $nick :\002***\002 SOp list of $chan \002***"
    if {[userlist |m $chan] == ""} {
       putquick "notice $nick :No Entries."
    } else {
           foreach ig [userlist |m $chan] {
               putquick "notice $nick :$ig"
           }}
putquick "notice $nick :\002*** End of list ***"
The above will display a list of nicks that are SOp's in the channel specified. The code is taken from a public commands script I wrote.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked