Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer rlvrc = -1812221819;
- integer handle;
- integer ArbitraryPositiveInteger = 12345;
- key victim;
- string ArbitraryCommandName;
- default
- {
- state_entry() { }
- touch_start(integer total_number) {
- victim = llDetectedKey(0);
- llListenRemove(handle);
- handle = llListen(ArbitraryPositiveInteger,"","","");
- ArbitraryCommandName ="testing";
- llRegionSayTo(victim, rlvrc,ArbitraryCommandName+","+(string)victim+",@versionnew="+(string)ArbitraryPositiveInteger);
- llSetTimerEvent(5.0);
- }
- listen(integer channel, string name, key id, string message) {
- llOwnerSay("listening") ;
- if(llGetOwnerKey(id)!=victim){
- return;
- }
- if("testing"==ArbitraryCommandName ){
- llSetTimerEvent(0.0);
- llListenRemove(handle);
- llOwnerSay(llGetDisplayName(victim)+" is using RLV version "+message);
- }
- }
- timer() {
- llSetTimerEvent(0.0);
- llListenRemove(handle);
- llOwnerSay(llGetDisplayName(victim)+" doesn't seem to be using an active RLV relay");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement