Sharpjaws / SharpSK

An addon for Skript that adds lots of features and other features from your favourite plugins to skript. Supports 1.8 up to 1.12
https://forums.skunity.com/resources/72
MIT License
8 stars 12 forks source link

Town of player returning none #35

Closed nathan-li-dev closed 7 years ago

nathan-li-dev commented 7 years ago
 command /townof:
  trigger:
    set {_t} to town of player
    broadcast "%{_t}%"

The above seems not to work, and always returns \<none>, with SharpSK version 1.6.3, Towny 0.91.4.13, and Skript 2.2-dev30b bensku. Hook is set to true in config, and some other Towny expressions still work (tested mayor of "town").

Eryk1983S commented 5 years ago

It's not fixed at all. Here my example: command /banoftown : trigger: set {_t} to town of player set {_s} to town of sender broadcast "%{_t}%, %{_s}%"

After using of this command there appears:

, **Game-Version:** 1.12.2. **Skript:** 2.2-dev37c **SharpSK:** 1.6.3.