Thread: How do i add an sM with a timer?

Results 1 to 7 of 7
  1. #1 How do i add an sM with a timer? 
    Registered Member
    Mojave's Avatar
    Join Date
    Jul 2008
    Posts
    751
    Thanks given
    1
    Thanks received
    39
    Rep Power
    134
    So i got an timer added and i want it to say sM("Stop massing");
    when someone masses so the timer makes it say that how would i do?

    rep++ if accomplished

    thanks,Jonathan
    Reply With Quote  
     

  2. #2  
    Registered Member
    Swarfega's Avatar
    Join Date
    Sep 2007
    Age
    29
    Posts
    873
    Thanks given
    0
    Thanks received
    1
    Rep Power
    373
    Hm let's see.

    Code:
    public int lulsTimer = 0;
    process:
    Code:
    if(lulsTimer > 0) {
    giefwarn();
    lulsTimer --;
    }
    method:
    Code:
    public void giefwarn() {
    sM("H0w ab0ut y0u st0p m4ssing f0r z3 lulz");
    }

    However, I will let you do this part:

    Code:
    lulsTimer ++;

    Lol I have on idea if this works, I just wrote it straight simple here.
    Reply With Quote  
     

  3. #3  
    Brown
    Guest
    Quote Originally Posted by Swarfega View Post
    Hm let's see.

    Code:
    public int lulsTimer = 0;
    process:
    Code:
    if(lulsTimer > 0) {
    giefwarn();
    lulsTimer --;
    }
    method:
    Code:
    public void giefwarn() {
    sM("H0w ab0ut y0u st0p m4ssing f0r z3 lulz");
    }

    However, I will let you do this part:

    Code:
    lulsTimer ++;

    Lol I have on idea if this works, I just wrote it straight simple here.
    Code:
    process:
    Code:
    
    if(lulsTimer > 0) {
    giefwarn();
    lulsTimer --;
    }
    Morron.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Swarfega's Avatar
    Join Date
    Sep 2007
    Age
    29
    Posts
    873
    Thanks given
    0
    Thanks received
    1
    Rep Power
    373
    K Mr. Brown, what now? (You're always onto people, so yes, that is a question.)

    Yes, you don't have to use the process. You could use the AttackPlayer packet or MouseClicking packet. I just wanted to write this fast lulz.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Mojave's Avatar
    Join Date
    Jul 2008
    Posts
    751
    Thanks given
    1
    Thanks received
    39
    Rep Power
    134
    I used somthing else to stop it because this didn't work. But the way i did it now it doesn't send a message telling the people to stop massing.
    Reply With Quote  
     

  6. #6  
    Expert Programmer


    Join Date
    Dec 2007
    Posts
    2,018
    Thanks given
    52
    Thanks received
    84
    Rep Power
    986
    Grahams eventmanager is good for this
    Reply With Quote  
     

  7. #7  
    Registered Member
    Mojave's Avatar
    Join Date
    Jul 2008
    Posts
    751
    Thanks given
    1
    Thanks received
    39
    Rep Power
    134
    Where do i get that at?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •