blackvenomm666 commented on a Page, No Facebook? Get Kicked (Work In Progress)  -  Mar 23, 2012

seeing as your on text event triggers before modes are set it is best to use a timer with an alias to check for mod status or any other type of channel status voice op etcetc
i tested this with my bot and it worked fine. also you have it set to On :open:?:: { which will not work since that only has to do with a pm opening. and not even if YOU are the one opening it only if someone pm's you/the bot. what is said in the pm is not caught by the on open event. it has to be the on text as i did below


On *:JOIN:#: { 
  .set %kickchan $chan 
  .set %kicknick $nick 
  .timerfbcheck 1 4 fbcheck 
} 
alias fbcheck { 
  if (%kicknick !isop %kickchan) { 
    msg %kicknick Hi, Welcome To $1. Do you have a 0,2Facebook0,1? Please answer Yes or No in the next 60 seconds or you will be kicked. (4Ops Please Disregard This Message.) 
    timerfbkick 1 60 kick %kickchan %kicknick 
  } 
} 
On *:text:*:?: { 
  if ($1 = yes) { msg %kicknick Thank You. Please Enjoy yourself. 
    timerfbkick off 
    msg %kickchan %kicknick has a 0,2Facebook0,1 = Yes! 
    .unset %kickchan %kicknick 
  } 
  if ($1 = no) { msg %kicknick I'm sorry, you have to have a 0,2Facebook0,1 in order to join this channel. 
    timerfbkick off 
    kick %kickchan %kicknick 0,2Facebook0,1 = No  
    .unset %kickchan %kicknick 
  } 
} 

this should work for ya

 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.