Link Command to another

Discussion in 'Bukkit Help' started by janniks95, Jun 5, 2013.

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

    janniks95

    Hey there,

    I want to create the command "/start"
    if the user uses "/start" he should be ported somewhere.

    So for example now i want that the command "/start" is linked to the command "/warp test"
    Is that possible?

    I know that there is the "String commandLabel" Maybe it works with this string?

    Thanks
     
  2. Offline

    chad53105

    you could try varible triggers.
    http://dev.bukkit.org/bukkit-mods/variabletriggers/

    make a script for a command trigger so when one uses /start it runs this:
    Code:
    Script:
      start
        - '@TELL <playername> Good luck with the test'
        - '@CMDOP warp test'
    
    hope this helps
     
  3. Offline

    janniks95

    hm well that sonds easy but i want to implement this into my selfmade plugin.
    Any chance to do that?
     
  4. Offline

    chad53105

    with varible triggers you can have a command trigger. so if the user uses a command set to your script it will execute the script. just like in the above example, the user would type /start. then the server would tell the player "Good luck with the test". next, the server warps the player to the warp test.
     
Thread Status:
Not open for further replies.

Share This Page