Before you attempt to download this, make sure you have at least openkore version 2.0.7. I have only tested this on the latest SVN version so I'm not sure if it works on other version.
So here it is, the autowarper plugin. You may ought to add this in config.txt:
Code: Select all
########## Autowarp Settings #########
autoWarp_maxCastTries 5
autoWarp_timeout 30
To use it type in the console:
Code: Select all
autowarp [move] <fieldname> [<player1> <player2>...]
Code: Select all
autowarp move prt_fild08
If you don't supply a move command, it will just open a warp portal to that location. This is useful if you're a warp seller. For example you are selling warp to prontera, you can type this:
Code: Select all
autowarp prontera
Code: Select all
autowarp move prt_fild09 "Yaya Angelina" BarDagul Brownie
This will open a warp portal to prt_fild09 and wait for Yaya Angelina BarDagul and Brownie to enter the warp portal before entering (Assuming all of them are in sight or near you). If you don't supply the [move] parameter, it will just cast warp portal up to autoWarp_maxCastTries until all the players listed have been warped. Note that this will not command the players (Yaya Angelina BarDagul Brownie) to move into the warp portal, you need to use macros for that.
Also take note that after issuing the autowarp command, it will not immediately cast a warp portal. It will first finish what you're currently doing (attacking, casting a skill, taking a bath ) before it casts the warp portal.
So there you have it. I have made this plugin as robust as I can. I hope you use it wisely and responsibly!