mrlongshen 22 Posted November 21, 2015 Request simple script when player wear item 12111 then automatic @cashmount on current job. Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted November 21, 2015 - script asdaskdha FAKE_NPC,{OnInit: setitemscript 12111 , "{ if ( !hascashmount() ) setcashmount; }", 1; setitemscript 12111 , "{ if ( hascashmount() ) setcashmount; }", 2; end;} 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted November 21, 2015 @@AnnieRuru Hehehe~ Sempoi. Thanks annie. Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted November 22, 2015 Was eAthena able to do this? I don't remember being able to set item scripts directly in an OnInit O_o Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted November 22, 2015 setitemscript existed in eathena but eathena setitemscript can only set in { Script } field the { OnEquip Field }, and { OnUnequip Field } was added later as parameter 1 and 2 though this changes is very very long time ago I can't tell it was added in rathena or eathena, but definitely before hercules exist Quote Share this post Link to post Share on other sites
Request simple script when player wear item 12111 then automatic @cashmount on current job.
Share this post
Link to post
Share on other sites