This script listens on a set of 50 channels. If you set integer lm to 1 then its listening on channels 1 through 50. 2 would be 2 through 51. 51 would be 51 through 100.
It is not only limited to sets like 1-50 and 51-100 you can have lm=3 and itll be 3-52.
//Please do not sell this script. You may give it away or modify it but please do not sell it
//except as part of a larger creation.
integer lm=1;
default
{
state_entry()
{
llListen(lm,"","","");
llListen(lm+1,"","","");
llListen(lm+2,"","","");
llListen(lm+3,"","","");
llListen(lm+4,"","","");
llListen(lm+5,"","","");
llListen(lm+6,"","","");
llListen(lm+7,"","","");
llListen(lm+8,"","","");
llListen(lm+9,"","","");
llListen(lm+10,"","","");
llListen(lm+11,"","","");
llListen(lm+12,"","","");
llListen(lm+13,"","","");
llListen(lm+14,"","","");
llListen(lm+15,"","","");
llListen(lm+16,"","","");
llListen(lm+17,"","","");
llListen(lm+18,"","","");
llListen(lm+19,"","","");
llListen(lm+20,"","","");
llListen(lm+21,"","","");
llListen(lm+22,"","","");
llListen(lm+23,"","","");
llListen(lm+24,"","","");
llListen(lm+25,"","","");
llListen(lm+26,"","","");
llListen(lm+27,"","","");
llListen(lm+28,"","","");
llListen(lm+29,"","","");
llListen(lm+30,"","","");
llListen(lm+31,"","","");
llListen(lm+32,"","","");
llListen(lm+33,"","","");
llListen(lm+34,"","","");
llListen(lm+35,"","","");
llListen(lm+36,"","","");
llListen(lm+37,"","","");
llListen(lm+38,"","","");
llListen(lm+39,"","","");
llListen(lm+40,"","","");
llListen(lm+41,"","","");
llListen(lm+42,"","","");
llListen(lm+43,"","","");
llListen(lm+44,"","","");
llListen(lm+45,"","","");
llListen(lm+46,"","","");
llListen(lm+47,"","","");
llListen(lm+48,"","","");
llListen(lm+49,"","","");
}
listen(integer channel,string name,key id,string message)
{
llOwnerSay(message + " said on channel "+ (string)channel);
}
}