Question Skript

Discussion in 'Bukkit Help' started by NickPlayzHD, Jul 18, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    NickPlayzHD

    Hello Bukkit, so I am not sure if this is in the right category but...
    Can someone tell me if this is possible to do with the plugin Skript? I am new to using it, and I do not know if this is possible if so can you please provide a brief example and I can just edit but here is my example:

    If a mob is found in world "Enhanced" with name "&f&lSkeletor Boss"
    Run console command /broadcast Skeletor Boss just was summoned at one of the boss locations

    So this is just an example above of what I want is it possible to do this or no? Because I have many bosses but this is just an example of what I would want, and the /broadcast command would only be ran once as soon as the boss/mob spawns
    P.S I know those are not skript lines I just used it in that format for the example and sorry for the messy layout.
     
  2. Offline

    termanator1128

  3. Offline

    Dave Nathanael

    @NickPlayzHD
    You could, actually. It's pretty simple but you need to find a way to fetch the mob spawn event, either if it's a command, or just loop every entity(not recommended) each second/5 seconds, or if skript have an "on mob spawn event", just proceed with it and check its name and announce the message
     
Thread Status:
Not open for further replies.

Share This Page