daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #==========================================#
  2.  
  3.  
  4. Options:
  5.     prefix: &eRename &8|&r
  6.  
  7. #==========================================#
  8.  
  9. command /Rename [<text>] [<text>]:
  10.     description: Tool rename command. Supports color codes!
  11.     trigger:
  12.         if player has permission "Rename.item":
  13.             if arg 1 is not set:
  14.                 send "&a-----------------------------------------------------"
  15.                 send "                 &f&lDerpyRename"
  16.                 send "&e/Rename Name &cName &7To change the name of the item "
  17.                 send "&e/Rename Help &7Main Command"
  18.                 send "&e/Lore Setline &cLine Name &7To change the lore line"
  19.                 send "&e/Lore Removeline &cLine &7Delete the lore line"
  20.                 send "&a----------------------------------------------------"
  21.         if arg-1 is "name":
  22.             if length of arg-2 is bigger than 32:
  23.                 send "{@prefix} &cToo Lare of a Item Name"
  24.                 stop
  25.             if player's tool is not air:
  26.                 set name of player's tool to "%coloured arg-2%"
  27.                 send "{@prefix} &aRenounced correctly"
  28.             else:
  29.                 send "{@prefix} &cYou Are Holding Air"
  30.  
  31.         if arg-1 is "help":
  32.             send "&a-----------------------------------------------------"
  33.             send "                 &f&lDerpyRename"
  34.             send "&e/Rename Name &cName &7To change the name of the item "
  35.             send "&e/Rename Help &7Main Command"
  36.             send "&e/Lore Setline &cLine Name &7To change the lore line"
  37.             send "&e/Lore Removeline &cLine &7Delete the lore line"
  38.             send "&a----------------------------------------------------"
  39.             stop
  40.  
  41. command /Lore [<text>] [<number>] [<text>]:
  42.     trigger:
  43.         if player has permission "lore.item":
  44.             if arg 1 is not set:
  45.                 send "&a-----------------------------------------------------"
  46.                 send "                 &f&lDerpyRename"
  47.                 send "&e/Rename Name &cName &7To change the name of the item "
  48.                 send "&e/Rename Help &7Main Command"
  49.                 send "&e/Lore Setline &cLine Name &7To change the lore line"
  50.                 send "&e/Lore Removeline &cLine &7Delete the lore line"
  51.                 send "&a----------------------------------------------------"
  52.                 stop
  53.             if arg 2 is not set:
  54.                 send "&a-----------------------------------------------------"
  55.                 send "                 &f&lDerpyRename"
  56.                 send "&e/Rename Name &cName &7To change the name of the item "
  57.                 send "&e/Rename Help &7Main Command"
  58.                 send "&e/Lore Setline &cLine Name &7To change the lore line"
  59.                 send "&e/Lore Removeline &cLine &7Delete the lore line"
  60.                 send "&a----------------------------------------------------"
  61.                 stop
  62.             if arg 3 is not set:
  63.                 send "&a-----------------------------------------------------"
  64.                 send "                 &f&lDerpyRename"
  65.                 send "&e/Rename Name &cName &7To change the name of the item "
  66.                 send "&e/Rename Help &7Main Command"
  67.                 send "&e/Lore Setline &cLine Name &7To change the lore line"
  68.                 send "&e/Lore Removeline &cLine &7Delete the lore line"
  69.                 send "&a----------------------------------------------------"
  70.                 stop
  71.             if arg 1 is "setline":
  72.                 if number arg is set:
  73.                     if arg 3 is set:
  74.                         set line number arg of lore of player's tool to "%colored arg 3%"
  75.                         message "{@prefix} &aYou have successful setline the lore."
  76.             if arg 1 is "removeline":
  77.                 if number arg is set:
  78.                     set line number arg of lore of player's tool to ""
  79.                     message "{@prefix} &aYou have successful &cremoveline the lore."
RAW Paste Data
Top