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.

flag help

Old posts that have not been replied to for several years.
Locked
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

flag help

Post by duofruo »

how do i bind a pub command that will execute only if the user has minimum +v flag. for example i bind a command v|v . and the user has flags on a channel +mno. if i use the command the bot will bot respond. only if i add +v to the user. maybe is a "matchattr" or something like that ?

i hope u understand. thx
Embrace The Inevitable
User avatar
CrazyCat
Revered One
Posts: 1295
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

don't use v|v but -|v
if you use v|v, it means the user must be voice on the channel and global voice...
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

Post by duofruo »

but if i am global v and not v on channel will work ?
Embrace The Inevitable
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

Post by TALES »

a little try wont hurt :D
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Yes, a global v flag with no channel flag will trigger the proc even if the bind is v|- or just v.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

even though you are global +v,
if the bind is -|v , you must still add yourself as #channel +v
I once was an intelligent young man, now i am old and i can not remember who i was.
Locked