#Click event will only work on signs that are not placed on blocks

1 messages · Page 1 of 1 (latest)

crystal flame
#

Hey everyone. Just need some quick help.

Skript version: 2.6.3
on rightclick on a Spruce Sign:
    message "test"

I tested this out on a sign with text on and it didn't work so I tried it out on a sign without text and then it works

TL;DR Click event won't work on spruce signs with text on

Like usual all help is apricated

#

Click event will work but only on empty spruce signs and not ones with text on

keen dock
#

Works for me

#

Broadcasting, when sign is empty, or filled with text

#
on rightclick on spruce sign:
    broadcast "1"
crystal flame
#

The sign is on a block if that helps

keen dock
#

Try broadcasting the event-block in an on rightclick event

#

If it has right name of block

#

There is probably difference between sign with stick(standing on it's own), or hanging on block

#

I can't test it rn

crystal flame
#

Mind expalining what you mean by "Try broadcasting the event-block in an on rightclick event "

#

Sorry I am quite new to skript and still learning

crystal flame
#

Click event will only work on signs that are not placed on blocks

queen juniper
#

broadcast block

#

that

crystal flame
queen juniper
#
  1. please don't ping me
  2. wdym?
crystal flame
#

Sorry, like what do you mean by its blocked.

#

As in minehut blocks things like that

harsh spade
#

Minehut blocks things like what? Sending a message to all players on your server? Literally all you have to do is on any spruce sign since there are two different versions of each sign.

crystal flame
#

Ah I see

#

The problem I was having is I didn't know the syntax for a sign on a block

#

I will try that in the morning Ty

grave smelt
#
on right click:
  event-block is spruce sing:
     # stuff
crystal flame
crystal flame
queen juniper
#

debug event-block

grave smelt
#

try

#
on right click:
  "%event-block%" contains "spruce sign":
    broadcast "click"
  else:
    broadcast "%event-block%"