EdTheWizard Posted April 9 Share Posted April 9 Ok, so I made a lore-based fortune skript and a lore-based telepathy skript in 1 skript. The telepathy works fine, but the fortune doesn't give me extra blocks. The annoying part is when I do /skript reload scripts there are no errors in the script so can someone tell me what I need to do? Here is the script: on block break: set {_tool} to player's tool set {_telepathy} to false set {_fortuneLevel} to 0 set {_lore} to "&7Telepathy 1&f; &7Fortune 0" loop split {_lore} by ";": set {_line} to loop-value if {_line} contains "&7Telepathy 1": set {_telepathy} to true if {_line} starts with "&7Fortune ": set {_list::*} to split {_line} by " " set {_secondItem} to "" loop {_list::*}: if {_list::*} is 2: set {_secondItem} to loop-value-2 stop loop set {_fortuneLevel} to {_secondItem} if {_telepathy} is true: clear drops give player {_fortuneLevel + 1} of type of block else: drop {_fortuneLevel + 1} of type of block Link to comment Share on other sites More sharing options...
EdTheWizard Posted April 9 Author Share Posted April 9 (edited) alr this is what im at rn on block break: set {_telepathy} to false set {_fortuneLevel} to 0 loop lore of player's held item: set {_line} to loop-value-1 if {_line} contains "&7Telepathy 1": set {_telepathy} to true if {_line} starts with "&7Fortune ": set {_list::*} to split {_line} by " " set {_index} to 0 loop {_list::*}: add 1 to {_index} if {_index} is 2: set {_secondItem} to loop-value-2 stop loop set {_fortuneLevel} to {_secondItem} if {_telepathy} is true: clear drops add 1 to {_fortuneLevel} give player {_fortuneLevel} of type of block it almost works, the telepathy fully works now but fortune just doesn't like me else: add 1 to {_fortuneLevel} drop {_fortuneLevel} of type of block Edited April 9 by EdTheWizard 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