utofaery 7 Posted February 23, 2015 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 Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted February 23, 2015 (edited) 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 February 23, 2015 by Aeromesi Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted February 23, 2015 reloadscript doesn't use a parameter as far as I know, so just remove the "+strcharinfo(0)+" part 1 luis.seifert reacted to this Quote Share this post Link to post Share on other sites
0 utofaery 7 Posted February 24, 2015 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? Quote Share this post Link to post Share on other sites
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