Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer channel = 12311;
- integer ismessage = 0;
- integer channelscan = 20000;
- integer i = -20000;
- string interuptmsg;
- default
- {
- touch_start(integer total_number)
- {
- llListen(channel, "", "", "");
- }
- listen(integer channel, string name, key id, string msg)
- {
- if(msg == "Scan Msg")
- {
- for(i = -20000; i < channelscan; i++)
- {
- if(msg == "")
- {
- ismessage = 0;
- }
- else
- {
- ismessage = 1;
- }
- llSetText("Scanning channels\n"+(string) i, <1,1,1>, 1);
- if(i == 19999)
- {
- llSetText("Scanning channels\n Complete", <1,1,1>, 1);
- }
- if(ismessage == 1)
- {
- llSay(0, (string) name +": "+ (string) msg + " - " + (string) channel);
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment