ScriptCommands #35


  • New
  • Enhancment
Open
Assigned to _ForgeUser7448041
  • _ForgeUser7019388 created this issue Jun 1, 2012

    What is the enhancement in mind? How should it look and feel?

    Ok, so I think you should make it so you can also make a command (Like MCDocs) and have that command run a bunch of other commands. For example, I could use ScriptBlock to make a command called '/fight' and I can attach commands on to it. So if a user types /fight, they would run the commands I put on it. Basicly, instead of clicking, or walking on a block, you could type in a command. I know the plugin is called Script "Block", but it would be really useful to have this in it, or you could make another plugin that does what I described and name it like ScriptCommand, or whatever. I just really want this. Thanks for you time and I am looking forward to seeing commands!

  • _ForgeUser7019388 added the tags New Enhancment Jun 1, 2012
  • _ForgeUser7448041 posted a comment Jun 2, 2012

    I wonder what is the purpose of this ?

    Have you some non-abstract exemples that show me this will be usefull ?

  • _ForgeUser6850071 posted a comment Jun 5, 2012

    You don't need to use scriptblock for this. In fact I am using something called "rTriggers". Search for this in Bukkit Dev! Here is the example I did:

    <<everyone>>=<<command-console>>:oncommand|/3caratexcellencecut|override:msg <<triggerer>> You bought a kit of Diamond tools! You can use it in the next (4) hours, even if you log out!$
    @pex user <<triggerer>> group add modifyworld_diamond_tool Curi 14400$
    @pex user <<triggerer>> group add modifyworld_diamond_tool Curi_nether 14400$
    @pex user <<triggerer>> group add modifyworld_diamond_tool Curi_the_end 14400$
    @give <<triggerer>> 277 1$
    @give <<triggerer>> 278 1$
    @give <<triggerer>> 279 1$
    @give <<triggerer>> 293 1$
    @warp curispawn <<triggerer>>
    

    It adds a temporary permission of 4hours to the player on diamond tools on all 3 worlds, and give the player a set of diamond tools.

    I bind this to the scriptblock button with /sbcreate [$item:7 5] [/3caratexcellencecut] so whoever had paid 5 bedrocks (as token, my server disabled bedrock placement) will be granted with this "perks". Hope it helps.

    Sorry for hijacking the thread on other plugin.


To post a comment, please login or register a new account.