ItsFree Posted January 17, 2022 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 121 Reputation: 7 Joined: 04/11/15 Last Seen: October 29, 2024 Share Posted January 17, 2022 Hi, i'd like to ask how could i put the script and it do the next: .@r = getrefine(); if (.@r>=6) atcommand i've this but after atcommand i tried with: atcommand "@refine 4,+1" but just dont works, what am i doing bad? thanks! what i want? a consume item that let me refine an item but it needs at least X refine level. Thanks! Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted January 17, 2022 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 1 hour ago Share Posted January 17, 2022 (edited) No comma on that command. "@refine 4 +1" Edited January 17, 2022 by Start_ Quote Link to comment Share on other sites More sharing options...
0 ItsFree Posted January 17, 2022 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 121 Reputation: 7 Joined: 04/11/15 Last Seen: October 29, 2024 Author Share Posted January 17, 2022 i tried with this: .@r = getrefine(); if (.@r>=6) atcommand "@refine 4 +1"; but got: Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted January 17, 2022 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 1 hour ago Share Posted January 17, 2022 (edited) Did you use atcommand outside item bonus script? (Maybe post whole related things here.) But try use it directly on item bonus script first. Edited January 17, 2022 by Start_ Quote Link to comment Share on other sites More sharing options...
0 ChokituBR Posted April 4, 2022 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 11/16/14 Last Seen: February 19 Share Posted April 4, 2022 Do you still need help? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 1, 2022 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted May 1, 2022 if you're running NPC script, use this instead *successrefitem <equipment slot>{,<count>{,<char_id>}}; This command will refine an item in the specified equipment slot of the invoking character by +1, or a count if given. For a list of equipment slots see 'getequipid'. This command will also display a 'refine success' effect on the character and put appropriate messages into their chat window. It will also give the character fame points if a weapon reached +10 this way, even though these will only take effect for blacksmith who will later forge a weapon. if (getrefine() >= 6) successrefitem EQI_ARMOR, 1; Quote Link to comment Share on other sites More sharing options...
Question
ItsFree
Hi, i'd like to ask how could i put the script and it do the next:
.@r = getrefine(); if (.@r>=6) atcommand
i've this but after atcommand i tried with: atcommand "@refine 4,+1" but just dont works, what am i doing bad? thanks!
what i want? a consume item that let me refine an item but it needs at least X refine level.
Thanks!
Link to comment
Share on other sites
5 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.