ittiphol Posted October 27, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted October 27, 2020 Get item per Character ID not ID Account Please help some script Thank you. Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted October 27, 2020 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 10 hours ago Share Posted October 27, 2020 get 1 item per any character ? prontera,0,0,0 script npcccc 444,{ if(!ONEITEMPERCHAR){ mes "here is your item"; ONEITEMPERCHAR = true; getitem(502,1); }else{ mes "you already got your item"; } end; } get an item for specific character id ? prontera,0,0,0 script npcccc 444,{ if(getcharid(0) == 1500000){//char id here mes "here is your item"; getitem(502,1); }else{ mes "your character id does not match!"; } end; } Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 27, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Author Share Posted October 27, 2020 (edited) Thank you for script Sorry i mean 1 account get item 1 time Edited October 27, 2020 by ittiphol Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 27, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Author Share Posted October 27, 2020 Sorry i mean 1 account get item 1 time Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted October 27, 2020 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 10 hours ago Share Posted October 27, 2020 (edited) 2 hours ago, ittiphol said: Sorry i mean 1 account get item 1 time prontera,0,0,0 script npcccc 444,{ if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; } if you mean a specific account get 1 item one time prontera,0,0,0 script npcccc 444,{ if(getcharid(3) != 2000000){//account id here mes "your account doesn't match"; end; } if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; } Edited October 27, 2020 by sader1992 Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 27, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Author Share Posted October 27, 2020 (edited) 2 hours ago, sader1992 said: prontera,0,0,0 script npcccc 444,{ if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; } if you mean a specific account get 1 item one time prontera,0,0,0 script npcccc 444,{ if(getcharid(3) != 2000000){//account id here mes "your account doesn't match"; end; } if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; } Thank you i'll try You are very considerate This script i'll try apply to give VIP 1 Day per 1 account and just only one character because if VIP is end some user create new character then take a VIP from NPC again it's now another character can use VIP too. This script it's correct or not? prontera,0,0,0 script npcccc 444,{ if(getcharid(3) != 2000000){//account id here mes "your account doesn't match"; end; } if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; atcommand "@vip +24h "+strcharinfo(0)+""; }else{ mes "you already got your item"; } end; } Edited October 27, 2020 by Mael Use a codebox Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted October 27, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted October 27, 2020 if( #Daily != gettime(5) ){ dispbottom "Gained Daily Items ..."; getitem 607,1; set #Daily,gettime(5); } Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 27, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Author Share Posted October 27, 2020 1 hour ago, Poring King said: if( #Daily != gettime(5) ){ dispbottom "Gained Daily Items ..."; getitem 607,1; set #Daily,gettime(5); } Thank you i'll try You are very considerate This script i'll try apply to give VIP 1 Day per 1 account and just only one character because if VIP is end some user create new character then take a VIP from NPC again it's now another character can use VIP too. if not use Item ID can use this or not atcommand "@vip +24h "+strcharinfo(0)+""; Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted October 28, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted October 28, 2020 2 hours ago, ittiphol said: Thank you i'll try You are very considerate This script i'll try apply to give VIP 1 Day per 1 account and just only one character because if VIP is end some user create new character then take a VIP from NPC again it's now another character can use VIP too. if not use Item ID can use this or not atcommand "@vip +24h "+strcharinfo(0)+""; to check if VIP if (vip_status(VIP_STATUS_ACTIVE)) { mes "Ok im VIP what should npc do next?"; end; } else { mes "Sorry, You are not a VIP or your VIP is expired."; end; } end; Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 30, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Author Share Posted October 30, 2020 Thank you. Master Quote Link to comment Share on other sites More sharing options...
Question
ittiphol
Get item per Character ID not ID Account
Please help some script
Thank you.
Link to comment
Share on other sites
9 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.