jTynne's @go Command Alternative In .txt Format!
This is my custom alternative to @go that allows end users the ability to EASILY add/change @go locations on the fly without the need to edit any source files OR recompling/rebooting their server. This is a highly customizable script that is pretty straight-forward in its coding. You can easily add in or adjust existing @go locations in seconds.
Please Note: This will replace the default @go command when loaded in-game!
Instructions / Customization
To use? Simply upload and @loadnpc the file in-game and @go will be modified. If you wish to add in a new @go location, all you have to do is add a new entry following the format noted below:
if(@warp$ == "35" || @warp$ == "ecl" || @warp$ == "ecla" || @warp$ == "eclag" || @warp$ == "eclage") { callsub Process,"eclage",110,39,0,0; }
if(@warp$ == "36" || @warp$ == "ser" || @warp$ == "sere" || @warp$ == "seren" || @warp$ == "serenglade") { callsub Process,"serenglade",34,82,0,0; }
As noted in the text in red above, you add in a number higher than the current highest value (in the script currently, Eclage is 35, so to add in a custom location, simply add in a value of 36, customize the text based warp strings you want (for @go 36, in the above example, you can either use @go 36 or @go ser @go sere @go seren or @go serenglade, and all will teleport you to the same location of serenglade <34,82>).
Planned for future releases:
- Additional options GM's can set for the command in the header. (Re-use delay, price per use option)
Version History : Current Version 2.0
2.0 Dec 31st, 2012 : http://www.jtynne.com/rAthena/scripts/gobind_v2.txt
1.0 Dec 29th, 2012: http://www.jtynne.com/rAthena/scripts/gobind.txt
Please report any bugs you may find, and/or if you have any requests / suggestions for the script as a response to this thread. Thank you!
(Please +1 me if you enjoy this script~)