Jump to content
  • 0
Sign in to follow this  
utofaery

Atcommand in item

Question

I was moving from eathena 13786 to hercules master revision downloaded as zip.

 

So here's the thing, a line like this work before in itemdb 

 

atcommand "@reloadscript "+strcharinfo(0)+"";

 

but cease to work now please help me to fix it

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I don't know what problem you're facing but a quick workaround would be something like this probably:

Create a script in the npc folder and make a function so in the itemdb you just use callfunc for what you want to happen, instead of using atcommand you use callfunc

 

 

 

 function<tab>script<tab>reload<tab>{atcommand "@reloadscript"+strcharinfo(0)+"";end;}

 

and apply this code to any item that you're using to call the function reload

 

 

callfunc reload;



Weird workaround but I think it's the temporary solution to your problem...

Edited by Aeromesi

Share this post


Link to post
Share on other sites
  • 0

Is there any stuff I can do to make it not kick me out when reloadingscript by items?

 

atcommand "@reloadscript";

 

It functions like @mapexit in hercules.

What I mean is it did not act this way before in eA.

 

Anyone can help me out in this?

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
Answer this question...

×   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.