vijay30393 Posted August 2, 2015 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Share Posted August 2, 2015 Can anyone please help by converting the script below to work on eAthena 3CeAm! - script Strict -1,{ OnInit: setarray .mob_restriction[0],1646,1647,1648,1649,1650,1651,1751,1708; .size = getarraysize(.mob_restriction); bindatcmd "monster",strnpcinfo(3)+"::OnExe",0,99; end; OnExe: .monster_id = atoi( .@atcmd_parameters$[0] ); for ( .@i = 0; .@i < .size; .@i++ ) { if ( .monster_id == .mob_restriction[.@i] || getgmlevel() < 90 ) { dispbottom "You cannot summon this monster"; end; } } if ( getmonsterinfo( .monster_id, 0 ) != "null" ) { .@amount = atoi( .@atcmd_parameters$[1] ); atcommand "@monster " +.monster_id+ " " +(!.@amount?1:.@amount); } end; } ~Thanks. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 2, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 2, 2015 https://rathena.org/board/topic/102636-guide-convert-script-to-eathena-compatible-version/ Quote Link to comment Share on other sites More sharing options...
Question
vijay30393
Can anyone please help by converting the script below to work on eAthena 3CeAm!
~Thanks.
Link to comment
Share on other sites
1 answer 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.