Jethro commented on a Page, channel spy  -  Dec 11, 2011

I'll recommend that you use $addtok() $remtok(), and $istok()

set %block $addtok(%block,#,32)

to add channels.

set %block $remtok(%block,#,1,32)

to remove channels.

Then use:

on *:text:*:#:{
if ($istok(%block,#,32)) { halt }

This way you don't waste var space when you can store the values from left to right.

 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.