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.

Text Grabber

Discussion in 'Requests' started by Arownic, May 15, 2021.

  1. Arownic

    Arownic New Member

    Joined:
    May 8, 2020
    Messages:
    5
    Likes Received:
    0
    Category: Management

    Suggested name: No suggested name, just need it functional C:

    Spigot/Skript Version: 2.5.3, Any addons needed I'll add C:

    What I want:
    a way to grab text within a pastebin or github file and get certain text from it
    then send a message of that certain text to player through a command

    Ideas for commands: a command for sending the certain text to the player

    Ideas for permissions: no need for permissions

    When I'd like it by: A reasonable time
     
  2. Ankoki

    Moderator Supporter Addon Developer

    Joined:
    Nov 5, 2020
    Messages:
    55
    Likes Received:
    12
    You could do most of these with Reqn as that supports web requests, SkJade has a syntax to get the text from a pastebin file, for example
    Code (Text):
    1. command /readpastebin <text>: #text being the id of the pastebin
    2.     trigger:
    3.         send the paste response from arg-1 with the dev key {@devKey} #the dev key being your pastebin developer key
    you can read more about it here
     

Share This Page

Loading...