Poseidon Posted August 9, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 107 Reputation: 6 Joined: 12/09/11 Last Seen: May 9, 2017 Share Posted August 9, 2013 Hi Guys, Im getting an error when trying to whisper to my tool dealer [Error]: npc_event: event not found [ToolDealer::OnAtcommand] Here is the script //===== rAthena Script ======================================= //= Whisper Tool dealer //===== By: ================================================== //= Poseidon //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena //===== Description: ========================================= //= Whisper Tool dealer //===== Additional Comments: ================================= //============================================================ - script Shop -1,{ OnWhisperGlobal: bindatcmd "sell","ToolDealer::OnAtcommand"; end; OnAtcommand: callshop "ToolDealer", 0; end; } - shop ToolDealer -,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,645:-1,656:-1,601:-1,602:-1,1065:-1,2239:-1 basically i would like players to be able to type @sell anywhere , and the tool dealer to pop open Thanks Quote Link to comment Share on other sites More sharing options...
DeadlySilence Posted August 9, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share Posted August 9, 2013 //===== rAthena Script ======================================= //= Whisper Tool dealer //===== By: ================================================== //= Poseidon //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena //===== Description: ========================================= //= Whisper Tool dealer //===== Additional Comments: ================================= //============================================================ - script Shop -1,{ OnInit: bindatcmd "sell", strnpcinfo(0)+"::OnAtcommand"; end; OnAtcommand: callshop "ToolDealer", 0; end; } - shop ToolDealer -,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,645:-1,656:-1,601:-1,602:-1,1065:-1,2239:-1 This should do it. 1 Quote Link to comment Share on other sites More sharing options...
Poseidon Posted January 26, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 107 Reputation: 6 Joined: 12/09/11 Last Seen: May 9, 2017 Author Share Posted January 26, 2014 (edited) Disguard please Edited January 26, 2014 by Poseidon Quote Link to comment Share on other sites More sharing options...
Question
Poseidon
Hi Guys, Im getting an error when trying to whisper to my tool dealer
Here is the script
basically i would like players to be able to type @sell anywhere , and the tool dealer to pop open
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.