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!

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

Skript-mirror TRY STATEMENTS

Discussion in 'Addon Suggestions' started by MeHow, Jun 28, 2018.

  1. M

    MeHow Well-Known Member

    Joined:
    Feb 6, 2017
    Messages:
    103
    Likes Received:
    8
    Hello, I just wondering If @btk5h can add
    Code (Skript):
    1. try {
    2. }
    In skript maybe it can be like
    Code (Skript):
    1. try:
    Thanks for attention
     
  2. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,199
    Likes Received:
    166
    Medals:
    There is a try effect already and MundoSK has a try-catch scope.
     
  3. M

    MeHow Well-Known Member

    Joined:
    Feb 6, 2017
    Messages:
    103
    Likes Received:
    8
    I don't use MundoSk. Skript-mirror should add try because it's java to skript addon
     
  4. btk5h

    Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    135
    Likes Received:
    119
    Skript-mirror's goal is not to port Java-specific language features to Skript.

    You can already suppress errors by prefixing java calls with try and use the last error to handle exceptions.
     
    • Informative Informative x 1
Loading...
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Support skUnity

    The staff team works very hard to make sure the community is running its best. This means constantly performing upgrades to systems and other features. This does cost a bit of money to keep doing. Donating to skUnity would allow the server to keep running smoothly for years to come!

    Support Us!
  • Join our Discord

    Discord is an all-in-one voice and text chat for gamers that’s free, secure, and works on both your desktop and phone.