Jump to content

Eyst

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Eyst

  1. on pickup of nether wart:
      stop if amount of nether wart in player's inventory < 32
      loop (floor((amount of nether wart in player's inventory) / 32 )) times:
        remove 32 of nether wart from player's inventory
        give 1 of nether wart block named "Compressed Nether Wart" to player

    "very hard"

  2. Vixio General Information

    How to login to your bot:

    Spoiler
    
    
    on skript load:
      login to "BotToken" with the name "Input the name you'll use here"

    Don't know how to get your bot's token? Take a look at this. Please note that this event will only trigger whenever your server starts.

    How to make a Discord command with Vixio:

    Spoiler
    
    
    discord command test:
      roles: moderator, admin # The roles that can use this command (They can be the name of the role or the ID of it)
      prefixes: /, ! # The prefixes that can be used for a command. Please note that you can put the prefix in the command if you only want to be able to use one.
      trigger:
        send "Hello world!" to event-channel with bot "<Bot Name>"

    You can get really advanced with these commands. Normal Skript command arguments apply here (player, text, integer, offline player, etc) and they can be used to do things inside of your server from a bot (Such as moderate!).

    How to make an embed with Vixio:

    Spoiler
    
    
    discord command /test:
      trigger:
        make embed:
          set color of embed to red
          set url of embed to "https://google.com"
          set title of embed to "Google"
          add field named "FieldName" with value "FieldContents" to embed
          set footer of embed to "Called by %event-member%"
          set the image of embed to "https://i.ytimg.com/vi/oHg5SJYRHA0/hqdefault.jpg"
          set the thumbnail of embed to "https://i.ytimg.com/vi/oHg5SJYRHA0/hqdefault.jpg"
        send last made embed to event-channel with "BotName"

    Keep in mind that this isn't all of the things you can do with an embed and that it is just an example. This does, however, include all of the different objects you can put inside of an embed.

     

    How to link your server's chat to a channel using Vixio (And vice versa):

    Spoiler
    
    on chat:
      send "%player% -> %message%" to channel with id "channelID" with "botName"
    
    on guild message recieved seen by "botName":
      if event-channel is "channelName":
        broadcast "&3DISCORD &f%event-user% -> %event-message%"

    Please note that you can customize this however you want. I'm not stopping you from doing so

    There is a bunch more stuff other than this that you can do inside of Vixio. If you want to see the entirety of the Vixio documentations, check out Olyno's Vixio Docs.

    • Like 2
×
×
  • Create New...