-Kill command??

aki15

New Member
Reaction score
5
Hi guys, i'm posting this to ask u how can i make this:
When Blue player say -Kill 50-150
Kill limit will be that number, and when 1 of 2 teams reach that number it will win...?
Anyone know how to do this :) ?
 

TomTTT

New Member
Reaction score
44
easy squeesy... :D
Create a variable, name it something like Goal (Integer). Then, turn this trigger whenever you want it and turn it off whenever you want, and when a player types -kill, then set tmpInt (Integer) to Substring(Entered chat string) 6, (Length of (Entered chat string)) [It's in convert string to integer and vise versa] . Then check if it's less than or higher than 50-150 and if it isn't, set Goal = tmpInteger.
 

aki15

New Member
Reaction score
5
Hmm, I know how to make it but I'm not so sure..
If you have some time can u give me some example trigger?
 

TomTTT

New Member
Reaction score
44
Sure.
Will edit this one finished.

Trigger:
  • Kill
    • Events
      • Player - Player 1 (Red) types a chat message containing -Kill as A substring
    • Conditions
      • (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Greater than or equal to 50
      • (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Less than or equal to 150
    • Actions
      • Set Goal = (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string))))))

There :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
    +1
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.
  • jonas jonas:
  • jonas jonas:
    please put this in the news section, it's crazy
  • tom_mai78101 tom_mai78101:
    Technically, you can post in the Headline News. Just posted your news there.
  • tom_mai78101 tom_mai78101:
    I'm not aware of you not being able to post news.
  • jonas jonas:
    I think technically I can I just forget how
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday night!
    +1
  • vypur85 vypur85:
    Happy Sunday. Sigh. Work day tomorrow.
    +1

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top