Jump to content
Sign in to follow this  
jTynne

[Added Feature] jTynne's @go Command Alternative (.TXT Format!)

Recommended Posts

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)
- Mapflag check for nowarp and nogo mapflags.
- No usage while dead.

Version History : Current Version 2.0

2.0 Dec 31st, 2012 : http://www.justintfields.com/rAthena/scripts/gobind_v2.txt

1.0 Dec 29th, 2012: http://www.justintfields.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~)

Share this post


Link to post
Share on other sites

Isn't it better to use compare?

(E.G: if( compare(@warp$,"pr") || @warp$ == "0") -> do....

It'll cut down your script size :-P, also its not case sensitive that way.

try to use Temporarily npc variables as well

.@variable$

Share this post


Link to post
Share on other sites

Thanks to this script, but I have found a problem

 

On a longer term, it seems not to be reading the parameter and just keeps on displaying this:

 

"[server] : To use @go, enter a number 0 or greater. For a full list of available warps, type '@go list'.";

 

no matter what I type, that's what shows.

 

Tried to do @reloadscript but still the same error

Share this post


Link to post
Share on other sites

The group requirement is bypassable if u type @go 10 for example it will block and says your level does not allow but if u type @go amatsu. you can bypass it hehe

Share this post


Link to post
Share on other sites

hi is there an update for not bypassing the mapflag nowarpto and nowarp Thankyou 
 

if(player is at guild_vs5)

{

disable gobind ??

 

Edited by adrian26v2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.