bartoaldo Posted July 26, 2016 Posted July 26, 2016 (edited) speaks guys ... I would like some help from you about this my new command that I am creating @armor ... to wanting when I use command "@armor Ghostring" he can give the status of armor. - script atcmd_armor#main -1,{ OnInit: bindatcmd "armor", "atcmd_armor#main::OnStart"; end; L_Help: dispbottom "Build it's:"; dispbottom "Available Stats: Ghostring, Holy"; return; OnStart: if (!getarraysize(.@atcmd_parameters$)) { callsub L_Help; end; } .@command$ = strtolower(.@atcmd_parameters$[0]); if (.@command$ == "ghostring") { dispbottom "Build it's: Ghostring"; unequip EQI_ARMOR; equip 15008; if(isequipped(15008)) { bonus bDefEle,Ele_Ghost; bonus bHPrecovRate,-25; bonus bStr,55; bonus bVit,24; bonus bDex,15; bonus bLuk,15; bonus bInt,20; } end; } else if (.@command$ == "holy") { dispbottom "Build it's: Holy"; unequip EQI_ARMOR; equip 15008; end; } } Edited July 26, 2016 by bartoaldo Quote
Question
bartoaldo
speaks guys ... I would like some help from you about this my new command that I am creating @armor ... to wanting when I use command "@armor Ghostring" he can give the status of armor.
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.