Jump to content

mateiop4

Member
  • Posts

    32
  • Joined

  • Last visited

Posts posted by mateiop4

  1. 10 minutes ago, Invislol said:

    Indention errors (Skript doesn't read it how you want it to read it when you indent like that )

    Soo it is almost done, but i have one slight problem. It says that the "else" needs to be put after an if. I don't know how to fix that. Almost doneee...

    Captură de ecran din 2021-05-15 la 19.45.12.png

  2. 5 minutes ago, Invislol said:

    OMFG JUST REALIZED WHY

    try

    if "%region at player%" does not contain "region":

     

    THANKS! god i have not seen this until now! Sorry! 🙂)

  3. 1 minute ago, Invislol said:

    I guess this is solved. Have a good day!

    No wait it is not! Because now it says no when i try to use mvtp or other stuff when i go in other regions! I want this to happen only in that region!

  4. Just now, Invislol said:

    Not sure whats the issue then post a post in the help section of the forums!

     

    HEY i actually changed the contains into is and it works! But i cannot go in any region only if i have the uuid

     

  5. 2 minutes ago, Invislol said:

    Please send the skript reload error and send the full skript.

    THE CODE:

    on right click with prismarine shard:
        name of player's item is "Key 1"
        add player's uuid to {checkArea1::*}

    on region enter:
        if "%region at player%" contains "Area1":
        if {checkArea1::*} contains player's uuid:
            send "yes"
        
        else:
            cancel event
            send "no"

     

    THE ERROR:

     

     

    Captură de ecran din 2021-05-15 la 19.02.52.png

  6. 6 hours ago, PrecedingMC said:

    Post your updated code please.

    on region enter:
        region is "Area1"
        if {checkArea1::*} contains player's uuid:
            send "yes"
        
        else:
            cancel event
            send "no"

  7. 6 hours ago, MrTibo said:

    Remove the %'s, since Area1 is not an expression or variable like number of all players or similar, when checking a region you are comparing with a string, so that would be "Area1"

    Yeah but now it says "Can't compare a region to a text: ("Area1")

  8. On 4/23/2021 at 7:08 AM, Windooows said:

    Hi there? Are you looking for a skript but can't seem to find it anywhere? Then this might be the pog place for you today 😉 
     

    I will be coding / skripting skripts for players just for fun! 

    If anything is too complicated for me, then I will probably not be able to code it...

    I will be taking this challenge. Post your skript idea / thing you need down below 

     

    - windooows 

     

    Hey can you do like... an invisible gate that needs you to have a key to go past it?

  9. Hello! Can someone help me with a skript? 

     

    the code is this:

    on region enter:
        region is "%Area1%"
        if {checkArea1::*} contains player's uuid:
            send "yes"
        
        else:
            cancel event
            send "no"

     

    It gives me an error at ("%Area1%")

    Can someone help me please? ASAP. Thanks!

  10. 4 hours ago, BanditEagle said:

    No problem, happy to be able to help!

    Hey, now that i tried the code, it sends me this: Also, the code is down there too. Please help me. Ty :D.

    Captură de ecran din 2021-05-12 la 21.12.42.png

    Captură de ecran din 2021-05-12 la 21.13.40.png

  11. 15 hours ago, BanditEagle said:

    Something like this should work in theory, but I didn't test it out. Also, keep in mind that you will need a supported regions plugin to be installed on your server for it to work.

    
    on right click with prismarine shard:
    	name of player's item is "Key 1"
    	add player's uuid to {checkArea1::*}
    
    on region enter:
    	region is "Area1"
    	if {checkArea1::*} contains player's uuid:
    		send "yes"
    	
    	else:
    		cancel event
    		send "no"

    Hope this helps!

    THANK YOU SO MUCH!!

×
×
  • Create New...