ThunderStorm Posted February 27, 2021 Share Posted February 27, 2021 enjoy. command /setwarp [<text>]: permission: warps.admin permission message: &fUnknown command. Type "/help" for a list of commands! trigger: if arg 1 is set: if {warps::%arg 1%} is not set: set {warps::%arg 1%} to location of player send "&3Warp &b%arg 1% &3has been set to your location." else: send "&3Warp &b%arg 1% &3has already been set." else: send "You do realize your warp needs to have a name right?" command /delwarp [<text>]: permission: warps.admin permission message: &fUnknown command. Type "/help" for a list of commands! trigger: if arg 1 is set: if {warps::%arg 1%} is set: delete {warps::%arg 1%} send "&3Warp &b%arg 1% &3has been removed." else: send "&3Warp &b%arg 1% &3does not exist." else: send "You do realize you need to put the warps name right?" command /warp [<text>]: trigger: if arg 1 is set: if {warps::%arg 1%} is set: teleport player to {warps::%arg 1%} send "&3Teleporting to warp &b%arg 1%&3!" else: send "&3Warp &b%arg 1% &3does not exist." else: send "BRO UR SO STUPID U NEED TO TYPE THE NAME OF THE WARP TOO!! U IDIOTIC PIECE OF TRASH" 1 IGN: LordUltron Discord: ThunderStorm#6354 ------------------------------------------------------------- ------------------------------------------------------------- Link to comment Share on other sites More sharing options...
_omga Posted February 27, 2021 Share Posted February 27, 2021 (edited) Cool skript! A small suggestion that can reduce the number of lines of the skript: You can use required arguments instead of if statements checking if the argument is set. command /example <string>: usage: This will send if arg 1 is not set. trigger: send "Arg 1 is required! This will only send if arg 1 is set!" Edited February 27, 2021 by _omga If I helped you at all, leave a like! IGN: _omga Discord: omega#1000 Link to comment Share on other sites More sharing options...
Miniman244 Posted April 6, 2021 Share Posted April 6, 2021 (edited) i got it Edited April 6, 2021 by Miniman244 Link to comment Share on other sites More sharing options...
Jackson85 Posted April 7, 2021 Share Posted April 7, 2021 Please do not necropost. Locked. Joined on January 17th 2016 VIP since April 5 2017 - August 1st 2019 JrMod since August 1st Mod since October 1st SrMod since November 2nd - 2/7/21 Patron since February 8 - 3/7/21 Mod since March 8 2021 Retired since idk when If I helped or entertained you at all today, please react with a heart. Link to comment Share on other sites More sharing options...
Recommended Posts