Post by SirMrChris on Jul 18, 2015 0:42:58 GMT
The following is a script that can be used to go fishing. It's pretty lengthy but is relatively easy to do. Simply place the script block in the water and begin writing the following script:
If
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [8000]
Notify [Fish caught!] [local]
Inventory [player] [add] [RawFish] [1]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [10000]
Notify [Fish caught!] [local]
Inventory [player] [add] [RawFish] [1]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [8000]
Notify [Fish got away!] [local]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
HasInventory [player] [TomatoSeed] [false]
Then
Notify [You need tomato seeds to fish!] [local]
Elseif
IsEquipped [Stick] [false]
Then
Notify [You need a fishing rod to fish!] [local]
Elseif
HasHistory [Fish] [player] [false]
Then
Wait [3000]
If
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [8000]
Notify [Fish caught!] [local]
Inventory [player] [add] [RawFish] [1]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [10000]
Notify [Fish caught!] [local]
Inventory [player] [add] [RawFish] [1]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
IsEquipped [Stick] [true]
HasHistory [Fish] [player] [false]
HasInventory [player] [TomatoSeed] [true]
IsRandom [1,3]
Then
History [Fish] [player]
Notify [Waiting for fish...] [local]
Wait [8000]
Notify [Fish got away!] [local]
Unequip [Stick]
Inventory [player] [take] [TomatoSeed] [1]
History [Fish] [clear] [player]
Elseif
HasInventory [player] [TomatoSeed] [false]
Then
Notify [You need tomato seeds to fish!] [local]
Elseif
IsEquipped [Stick] [false]
Then
Notify [You need a fishing rod to fish!] [local]
Elseif
HasHistory [Fish] [player] [false]
Then
Wait [3000]