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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
its not detecting lores its detecting item name and loresCode:command /check: trigger: if player's hand held item is blaze rod named "Lighting staff" with lore "&cEnd your enemies with the power of god": do smth
If it was the same item without the lore part it wouldnt do smth
its only detecting lore 1Pretty sure this should work:
Code:if lore of player's tool contains "xxx"
on damage:
if attacker's tool is a sword:
if lore of attacker's tool contains "&7Blind I":
apply potion of blindness of tier 1 to victim for 5 seconds
apply potion of slowness of tier 1 to victim for 5 seconds
same its only detecting lore 1Code:on damage: if attacker's tool is a sword: if lore of attacker's tool contains "&7Blind I": apply potion of blindness of tier 1 to victim for 5 seconds apply potion of slowness of tier 1 to victim for 5 seconds
Not Tested it but i believe it should work.
on damage:Wait show me your sword skript... because that should work...
on damage:
if attacker's tool is a sword:
if lore of attacker's tool contains "abcd":
apply speed to attacker for 10 seconds
[doublepost=1610524965,1610181383][/doublepost]help plss XD
on damage:
player is holding a sword named "lol" with lore "&4Lore1%newline%&4lore2%newline%&4ok i get it sotp with lores":
# do stuff
its detect tool name and lore ;(Code:on damage: player is holding a sword named "lol" with lore "&4Lore1%newline%&4lore2%newline%&4ok i get it sotp with lores": # do stuff
the internet is for inappropriate word and codeits detect tool name and lore ;(
on damage:
attacker's held item is set:
if lore of attacker's tool is "&aNo":
send "Worked" to attacker
command /hi:
trigger:
give player stone named "&4OK" with lore "&aNo"
its only detecting lore 1the internet is for inappropriate word and code
the internet is for (da da da)
ok here u go sorry for the horrible joke
Code:on damage: attacker's held item is set: if lore of attacker's tool is "&aNo": send "Worked" to attacker command /hi: trigger: give player stone named "&4OK" with lore "&aNo"
its same like my skript
- on damage:
- attacker's held item is set:
- if line 1 of lore of attacker's tool is "&aNo":
- send "Worked" to attacker
- if line 2 of lore of attacker's tool is "xxx"
- command /hi:
- trigger:
- give player stone named "&4OK" with lore "&aNo"
what is lore 1its only detecting lore 1
OHHH I GET ITits only detecting lore 1
on damage:
attacker's held item is set:
if lore of attacker's tool is "&aNo%newline%&4line 2":
send "Worked" to attacker
command /hi:
trigger:
give player stone named "&4OK" with lore "&aNo%newline%&4line 2"