1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help with phone calling system

Discussion in 'Skript' started by DaPumpkinGR, Mar 7, 2017.

Thread Status:
Not open for further replies.
  1. DaPumpkinGR

    DaPumpkinGR Member

    Joined:
    Mar 7, 2017
    Messages:
    3
    Likes Received:
    0
    Hello. so i want to make a skript for a server that needs phones. I have done most parts, but i don't know how to make multi-player actions (for example, a player does this command and if the other player doesnt do /answer or something within a specific time limit, the trigger stops)

    Any help would be greatly appreciated
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Crapy code but that's principle:
    Code (Skript):
    1. command /answer:
    2.     Trigger:
    3.         If {answer.%player%} is true:
    4.              #Action
    5.         Else:
    6.             #didnt answered in right tine
    7.  
    8. Command /call <text>:
    9.     Trigger:
    10.         Set {answer.%arg%} to true
    11.         Wait 30 seconds
    12.         Set {answer.%arg%} to true
     
    #2 ShaneBee, Mar 21, 2017
    Last edited by a moderator: Mar 22, 2017
Thread Status:
Not open for further replies.

Share This Page

Loading...