Beret Posted February 26, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Share Posted February 26, 2013 I am creating some pack guilds, I wonder how I can make the following announce. [beret] opened pack guild [pack of 1 to 5 guild] and [item pack gain guild] Quote Link to comment Share on other sites More sharing options...
Lemongrass Posted February 27, 2013 Group: Developer Topic Count: 28 Topics Per Day: 0.01 Content Count: 547 Reputation: 270 Joined: 11/08/11 Last Seen: June 10, 2024 Share Posted February 27, 2013 I do not quite get what you are trying to say. Could you explain a little bit more detailed? Quote Link to comment Share on other sites More sharing options...
Beret Posted February 27, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted February 27, 2013 (edited) I do not quite get what you are trying to say. Could you explain a little bit more detailed? Example: setarray .@item[0],26001,26002,26003,26004,26005,26006,26007,26008,26009; announce "["+strcharinfo(0)+"] opened "+getitemname(.Item[.@i])+" and obtained [item gain of some box]",0; Edited February 27, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 Like this ? function script CustomBox { setarray .BoxItems[0],501,502,503; set .Random, getarraysize( .BoxItems ); getitem .BoxItems[ rand( .Random ) ], 1; announce "["+strcharinfo(0)+"] has got "+getitemname(.BoxItems)+" from a Custom Box.",0; end; } add function into your item box or if you want to make npc just edit it Quote Link to comment Share on other sites More sharing options...
Beret Posted February 28, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted February 28, 2013 Like this ? function script CustomBox { setarray .BoxItems[0],501,502,503; set .Random, getarraysize( .BoxItems ); getitem .BoxItems[ rand( .Random ) ], 1; announce "["+strcharinfo(0)+"] has got "+getitemname(.BoxItems)+" from a Custom Box.",0; end; } add function into your item box or if you want to make npc just edit it Thanks for replying has no way do not function ? And how do I show the name vip pack example [beret] opened pack guild [pack of 1 to 5 guild] and [item pack gain guild] Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 on your item db , { callfunc "CustomBox"; } vip pack ? edit it your self Quote Link to comment Share on other sites More sharing options...
Beret Posted February 28, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted February 28, 2013 on your item db , { callfunc "CustomBox"; } vip pack ? edit it your self Yes I understand about add callfunc the item, more wanted to know if you do not have to do without calling a function ? Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 i don't know then , ask http://rathena.org/board/user/477-goddameit/ Quote Link to comment Share on other sites More sharing options...
Beret Posted February 28, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted February 28, 2013 i don't know then , ask http://rathena.org/board/user/477-goddameit/ - script item -1,{ Not to do something with an invisible npc ? Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 i don't know then , ask http://rathena.org/board/user/477-goddameit/ - script item -1,{ Not to do something with an invisible npc ? -.- tho you want make it on item_db OnInit: disablenpc "itemnpc"; } Quote Link to comment Share on other sites More sharing options...
Beret Posted March 1, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted March 1, 2013 (edited) i don't know then , ask http://rathena.org/board/user/477-goddameit/ - script item -1,{ Not to do something with an invisible npc ? -.- tho you want make it on item_db OnInit: disablenpc "itemnpc"; } I'll explain again is just an advertisement Created 10 guild pack random items that equal a bluebox I want to show an advertisement when open the package guild. The player [player name] opened [package name of guild] and won [item package gain guild] Edited March 1, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
Beret Posted March 7, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted March 7, 2013 Bump. Quote Link to comment Share on other sites More sharing options...
Question
Beret
I am creating some pack guilds, I wonder how I can make the following announce.
[beret] opened pack guild [pack of 1 to 5 guild] and [item pack gain guild]
Link to comment
Share on other sites
11 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.