Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Test() {
- print("ÿc8TESTING");
- var c;
- function KeyDown(key) {
- if (key === 45) {
- c = true;
- }
- }
- addEventListener("keydown", KeyDown);
- addEventListener("copydata", CopyDataEvent);
- function CopyDataEvent(mode, msg) {
- print(msg);
- }
- while (true) {
- if (c) {
- test();
- c = false;
- }
- delay(10);
- }
- }
- function test() {
- var profile1 = "Test",
- profile2 = "Test2";
- sendCopyData(null, me.profile === profile1 ? profile2 : profile1, 0, "hi this is a test");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement