Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string name = "hair_color_red";
- integer comchan = -77;
- integer uniquechannel;
- integer listen_handle;
- integer uniquechan1;
- integer uniquechan2;
- integer uniquechan3;
- default
- {
- on_rez(integer start_param)
- {
- llResetScript():
- }
- state_entry()
- {
- uniquechannel = uniquechan = -(integer)("0x" + (string) llGetKey());
- uniquechan1 = uniquechannel -1234;
- uniquechan2 = uniquechannel - 5678;
- uniquechan3 = uniquechannel - 91011;
- listen_handle = llListen(comchan,"","","");
- llSetTimerEvent(1.0);
- }
- listen(integer channel, string name, key id, string msg)
- {
- if(channel == comchan)
- {
- if(msg == "Pong!")
- {
- llSetTimerEvent(0.0);
- llListenRemove(listen_handle);
- }
- }
- }
- timer()
- {
- llRegionSay(comchan,name+"#"+(string)uniquechannel);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement