sign system -the person fix the problem i will give he premium account Minecraft

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

hakeem_j

Member
Aug 17, 2017
39
1
0
26
Skript Version: 2.2 dev31b
Skript Author: Bensku
Minecraft Version: 1.12

---
Full Code:

code_language.skript:
function SignSearch(lines: strings, player: player):
   set {_loc} to location of {_player}
   set {_block} to type of block at {_loc}
   set block at {_loc} to sign
   loop {_lines::*}:
      (loop-index parsed as int) < 5
      set line (loop-index parsed as int) of block at {_loc} to "%colored loop-value%"
   wait a tick
   set {_packet} to new play_server_open_sign_editor packet
   set location pinfo 0 of {_packet} to {_loc}
   send {_player} packet {_packet}
   set block at {_loc} to {_block}
 
command /signsearch <player>:
    trigger:
        set {usingsign.%player%} to true
        set {_lines::*} to "", "/\/\/\/\", "Enter your" and "search!"
        SignSearch({_lines::*},arg)
 
on packet event play_client_update_sign:
    if {usingsign.%player%} is true:
        set {_lines::*} to string array pinfo 0 of event-packet
        message "You searched for: %{_lines::1}%"
        set {usingsign.%player%} to false
        stop

Errors on Reload:

code_language.skript:
a block can't be set to 'sign' because the latter is not an item type (r.sk, line 4: set block at {_loc} to sign')

Console Errors:

code_language.skript:
a block can't be set to 'sign' because the latter is not an item type (r.sk, line 4: set block at {_loc} to sign')



Addons using :
MundoSK : 1.7.4
ProtocolLib : last version

--------------------------------------------------------------------
Have you tried searching the docs? No
Have you tried searching the forums? Yes
What other methods have you tried to fix it? yes
 
From memory, you have to use "sign block" or "wall sign".

Check the aliases.sk file and search for "sign" to find the exact value.
 
Status
Not open for further replies.