the desc of script is ;
when someone join on chan, bot will greet them and ask the pass..
if they could answer it, bot didn't kick and ban them, if they ignore the pass after idle 1 minute bot will kick and ban them, if they give wrong pass bot will kick and ban them..
Note : add +f access to ignore from pass ask.. (especially for bot on the chan if they part/join)
Code: Select all
example : (on scripts pass we set "haha")
bot : welcome to #ok, this is vip chan, please type your password on chan..
user : !pass haha
bot : the pass is correct, you are recognize as member, enjoy here !
bot : welcome to #ok, this is vip chan, please type your password on chan..
user : !pass hihi
bot : wrong pass (kick ban user *with msg)
bot : welcome to #ok, this is vip chan, please type your password on chan..
user : *ignore the pass*
bot : you have about 1 minute to enter your pass, or leave this chan !
user : *get kick and ban* after idle 1 minute and not give their pass