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.

utimer&list&catch&var evaluation inside catch ?

Old posts that have not been replied to for several years.
Locked
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

utimer&list&catch&var evaluation inside catch ?

Post by Adrenalin »

set banmask *!*@195.22.232.18
utimer 100 [list catch {unset bw_bancandidate($banmask)}]
catch {unset bw_bancandidate($banmask)} get executed after 100 secs..
As you can see, $banmask get not evaluated, anyone know how can i evaluate it ?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

[list unset bw_bancandidate($banmask)]

edit:
use a second list as such:
utimer 100 [list catch [list unset bw_bancandidate($banmask)]]
photon?
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Post by Adrenalin »

Indeed, the { } can be added by list, how i don't understand that by my self Image
Thanks spock
Locked