AinsLord Posted June 22, 2016 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted June 22, 2016 - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } thnx in advance Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted June 22, 2016 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 281 Reputation: 14 Joined: 10/14/13 Last Seen: October 9, 2017 Share Posted June 22, 2016 - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } thnx in advance To duplicate NPC: yourmap,x,y,4 duplicate(ItemGiver) ItemGiver#2 1 But why will you duplicate an NPC that is triggered by OnPCLoginEvent? Quote Link to comment Share on other sites More sharing options...
0 Kurofly Posted June 22, 2016 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share Posted June 22, 2016 (edited) I'm not a 100% sure of what I'm about to say but I think labels don't trigger in duplicates. Why do you want to duplicate it? Edited June 22, 2016 by Kurofly Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted June 23, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 149 Reputation: 24 Joined: 02/11/16 Last Seen: May 16, 2023 Share Posted June 23, 2016 Original script - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } Duplicate - script ItemGiver2 1,{ OnPCLoginEvent: if(!#givenStartItems2) { set #givenStartItems2, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } I just changed the name of the script and givenStartItems to givenStartItems2. 1 Quote Link to comment Share on other sites More sharing options...
0 Kozima Posted June 23, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 82 Reputation: 2 Joined: 10/30/13 Last Seen: October 26, 2023 Share Posted June 23, 2016 - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } thnx in advance - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; getitem <item_id>, <quantity>; getitem <item_id>, <quantity>; getitem <item_id>, <quantity>; } end; } Like this?? 1 Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted June 29, 2016 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted June 29, 2016 thnx a lot for some help Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
thnx in advance
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.