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.
Old posts that have not been replied to for several years.
HecKel
Voice
Posts: 23 Joined: Wed Jan 19, 2005 3:50 pm
Location: Lisbon, Portugal
Post
by HecKel » Sun Feb 06, 2005 12:55 pm
I want to get all channels from an user and remove them , but don't delete the user, only remove channels from this particular user and print the deleted channels.
tnks HecKel
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sun Feb 06, 2005 1:38 pm
channels are not binded to users .. only flags are..
but i think your looking for something like this havn't tested it tho
Code: Select all
proc delflags {user} {
foreach {x} [channels] {
chattr $user -|-[lindex [split [chattr $user - $x] \x7C] 1] $x
}
}
XplaiN but think of me as stupid