domez86 Posted September 22, 2019 Group: Members Topic Count: 85 Topics Per Day: 0.02 Content Count: 207 Reputation: 0 Joined: 06/11/13 Last Seen: July 11, 2020 Share Posted September 22, 2019 (edited) hi, it is possible to link this script: if (! #onetimeitem) { set # onetimeitem, 1; to the char id? not account id. thanks. Edited September 22, 2019 by domez86 Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 15, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted October 15, 2019 if (!onetimeitem) { onetimeitem = 1; } remove the prefix '#' that indicated the variable as account variable. Quote Link to comment Share on other sites More sharing options...
0 Chun3 Posted September 22, 2019 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 67 Reputation: 9 Joined: 08/22/19 Last Seen: February 2, 2020 Share Posted September 22, 2019 name - permanent character integer variable Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted September 22, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 8 hours ago Share Posted September 22, 2019 "#" - A permanent local account variable. They are stored by char-server in the `acc_reg_num` table and `acc_reg_str`. https://github.com/rathena/rathena/blob/752d3143f5f9cabcc5a6326db2cf75102954e887/doc/script_commands.txt#L498 Quote Link to comment Share on other sites More sharing options...
Question
domez86
hi, it is possible to link this script:
Edited by domez86if (! #onetimeitem) {
set # onetimeitem, 1;
to the char id? not account id.
thanks.
Link to comment
Share on other sites
3 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.