Saisho Posted February 11, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Share Posted February 11, 2013 Hello :3 Theres how to make a rental item that pick a random item from a list like itemgroup or even better, use a itemgroup itself as list? Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 11, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Saturday at 07:13 PM Share Posted February 11, 2013 rentitem groupranditem( <GROUP> ),<TIME>; refer *groupranditem <group id>; Returns the item_id of a random item picked from the group specified. The different groups and their group number are specified in 'db/(pre-)re/item_group_db.txt'. When used in conjunction with other functions, you can get a random item. For example, for a random pet lure: getitem groupranditem(15),1; 1 Quote Link to comment Share on other sites More sharing options...
Saisho Posted February 11, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Author Share Posted February 11, 2013 *Facepalm* thanks a lot xD Quote Link to comment Share on other sites More sharing options...
Question
Saisho
Hello :3
Theres how to make a rental item that pick a random item from a list like itemgroup or even better, use a itemgroup itself as list?
Link to comment
Share on other sites
2 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.