HarvesterHoe

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Tropical

Member
Jan 29, 2017
19
0
1
29
Skript Version: 2.2
Skript Author: The original author, I guess?
Minecraft Version: 1.8

---
Full Code:
https://hastebin.com/pusowuvada.py

Errors on Reload:
code_language.skript:
can't understand this condition: 'set {_ver} to text from url "http://pastebin.com/raw.php?i=qKbmipfB.txt"' (Harvest.sk, line 61: set {_ver} to text from url "http://pastebin.com/raw.php?i=qKbmipfB.txt":')

What's Wrong?
What's happening: Well a few things actually.
  • /hh ver - Skript does not recognize the get text from URL.
  • /hh - Whenever doing this, I want it to send
    code_language.skript:
                    send "&8&m-------------------------------------------------"
                    send "&b/hh give <user> &f- Gives a user a HarvesterHoe."
                    send "&b/hh ver &f- Checks to see if you are up to date."
                    send ""
                    send "&eHarvesterHoe made by &bReligion"
                    send "&8&m-------------------------------------------------"
    but instead, it just outputs the correct usage. My code looks fine, but obviously it's not.


Addons using (including versions):
SkUtilities - Latest

Troubleshooting:
Have you tried searching the docs?
Yes/No
Have you tried searching the forums? Yes/No (I've found multiple threads using this condition, and they didn't report it not working)
What other methods have you tried to fix it? I've tried "get text from URL"
 
That isn't an exprssion from skUtilities, that's an expression from skQuery which anyways, isn't recommended to use. It would be better if you use Reqn for this kind of stuff. But if you want use skUtilities you can use the following expression:
code_language.skript:
contents from url %string%
url %string%'s contents
 
That isn't an exprssion from skUtilities, that's an expression from skQuery which anyways, isn't recommended to use. It would be better if you use Reqn for this kind of stuff. But if you want use skUtilities you can use the following expression:
code_language.skript:
contents from url %string%
url %string%'s contents
Got it, thanks.

Do you know how to make it where /hh outputs the if arg 1 is not set send message, instead of the correct usage?
 
Status
Not open for further replies.