defineddankonMC Posted March 30, 2020 Share Posted March 30, 2020 # You can change the "/discord" to any command really, it determines what command will execute the link. command /discord: trigger: send: "discord link here" # You can copy this code freely. It is easy to do and no credit has to be given. You are able to remove these tutorial lines if you want! #Where it says Trigger, if it requires permission, you are able to put a permission variable there, such as "vip.rank" with permissions: next to it, so it would appear like "permission: vip.rank" This is the code. If you have any questions or concerns, please comment it and I will get back to you within a few days. Link to comment Share on other sites More sharing options...
Fusezion Posted March 30, 2020 Share Posted March 30, 2020 (edited) wouldn't this be a better command template? as template's definition is in short a pattern meaning it's easy to "cut out" options: command: example permission: example.permission permission_message: &cYou don't have the required permission node executable_by: console and players aliases: ex cooldown: 0 seconds cooldown_message: &cThis commmand is currently still on cooldown cooldown_bypass: example.permission.bypass command {@command} [<text>]: permission: {@permission} permission message: {@permission_message} executable by: {@executable_by} aliases:{@aliases} cooldown: {@cooldown} cooldown message: {@cooldown_message} cooldown bypass: {@cooldown_bypass} trigger: send "Congrats you made a command!!! 1" options: command: example2 permission: example.permission permission_message: &cYou don't have the required permission node executable_by: console and players aliases: ex cooldown: 0 seconds cooldown_message: &cThis commmand is currently still on cooldown cooldown_bypass: example.permission.bypass command {@command} [<text>]: permission: {@permission} permission message: {@permission_message} executable by: {@executable_by} aliases:{@aliases} cooldown: {@cooldown} cooldown message: {@cooldown_message} cooldown bypass: {@cooldown_bypass} trigger: send "Congrats you made a command!!! 2" this even allowes you to repeat options with new data Edited March 30, 2020 by Nic I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too? Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 14, 2020 Share Posted April 14, 2020 @defineddankonMC Hey, your discord skript will not work. It won't let the player click on the link. So it's best if you do this: # You can change the "/discord" to any command really, it determines what command will execute the link. command /discord: trigger: send "<link:discordinvitehere>&b&lClick Here<reset>&bto join the discord!" #You can copy this code freely. It is easy to do and no credit has to be given. You are able to remove these tutorial lines if you want! #Where it says Trigger, if it requires permission, you are able to put a permission variable there, such as "vip.rank" with permissions: next to it, so it would appear like "permission: vip.rank" #The "<link:discordinvitehere>" is basically making the link a clickable link. #The "<reset>" makes it so once you put example "&b&lClick Here" then you will not be able to click on anything after that. IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 14, 2020 Share Posted April 14, 2020 Decent tutorial though, will help many beginner skripters! IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now