Code: Select all
set voicelist [lreplace $voicelist $index $index ]
This is all based on how lists work, and look.Papillon wrote:just a wild guess... but[SNIP]Code: Select all
set voicelist [lreplace $voicelist $index $index ]
if first and last are equals, I don't see how u can delete anything between them.... I might just be stupid but that's just me
U could just do a foreach loop and add every nick except the one u don't want...
Code: Select all
set idx [list item1 item2 item3]
Code: Select all
if {[string tolower $next(chan)] == [string tolower $chan]} {
Code: Select all
if {$nick == $botnick || $chan != $next(chan) || [validuser [nick2hand $nick $chan]]} { return }