Aucun50 commented on a Page, textBot  -  Jan 04, 2009

This don't work but good try, maybe go with:

on :TEXT::#: {
if ($nick isop $chan) {
if (voice == $strip($1)) { /mode # +v $2- }
if (devoice == $strip($1)) { /mode # -v $2- }
if (hop == $strip($1)) { /mode # +h $2- }
if (dehop == $strip($1)) { /mode # -h $2- }
if (op == $strip($1)) { /mode # +o $2- }
if (deop == $strip($1)) { /mode # -o $2- }
if (kick == $strip($1)) { /kick # $2- }
if (ban == $strip($1)) { /mode # +b $2- }
if (join == $strip($1)) { /join # $2- }
if (part == $strip($1)) { /part # $2- }
}
else { msg $chan Your not Oped }
}

Your "if" statement need to on the second line, add $strip so you can type it in colors to, else { msg $chan Your not Oped } so if there not oped it with msg that.

BTW "ok i no very good in scripting but i know now only text =]
code this Bot text" Did you mean? "Ok I'm not very good at scripting but i do know text =], coded this bot text"?

 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.