Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer tChan = -135790;
- integer statusChan1 = -51069;
- integer blockTotal;
- statusListener()
- {
- integer stat1 = llListen(statusChan1, "1cannon wall w fire physical v 4.0", "", "");//listen for status reports on this channel
- }
- default
- {
- state_entry()
- {
- statusListener();
- llSetTimerEvent(10);
- }
- timer()
- {
- llSay(0, (string)blockTotal);
- blockTotal = 0;
- llRegionSay(tChan, "Status");
- // llSay(0, "Hello, Avatar!");
- }
- listen(integer channel, string name, key ID, string message)
- {
- blockTotal += (integer)message;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement