WorldDMT commented on a Page, Black List  -  May 28, 2009

hi

nice sunslayer :)

i have a little comments

dialog $iif($dialog(blist),-v,-md blist) blist

u can use check better than radio for ON/OFF

u can replace $regex by $istok "$istok(7.8,$did,46)"

elseif $istok(7.8,$did,46) { hadd -m blist power $iif($did == 7,on,off) | did -u $dname $iif($did == 7,8,7) }

your on load event will never be $true replace it by on start and add hmake

on *:start:{ hmake blist | if $isfile(blist.txt) hload blist blist.txt }

for alias blist.check u can use a code more simple and faster like add only host to black list and replace $nick(#,$me,oh) by "@" befor level then on join event will be like this

on @*:join:#:{
  if ($hget(blist,power) == on) {
    if ($hget(blist,$wildsite)) ban -k $nick 2 $v1
  }
}

then the hadd will be like this eg: hadd blist $address($nick,2)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.