blackvenomm666 commented on a Page, Random lines!(finally) USE ON BOT  -  Aug 13, 2011

@matcou

on *:TEXT:*:#:{
tokenize 32 $strip($1-)
if ($1 == !rand) {

yes it will check the if statement but for those who are not good at regex. and need it stripped but it is
not a good idea to have it in the text event such as !rand because it will trigger no matter where it is said seeing how it is wildcarded. the way i did it is a easy way to do it and it works perfectly as it is meant to not to mention it allows you to easily strip incoming text of color bold etcetc without setting it in your mirc options to strip all if you don't want it to strip all. there is nothing wrong with doing it that way. it also will allow you to easily combine several diff scripts that use the on text event for your bot so you don't have a lot of files so it can be condenced into one on 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.