Yasunari Ishibashi Posted April 19, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 157 Reputation: 2 Joined: 01/06/12 Last Seen: August 25, 2014 Share Posted April 19, 2012 (edited) Solved Edited April 29, 2012 by Yasunari Ishibashi [codebox] Quote Link to comment Share on other sites More sharing options...
Gerome Posted April 23, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 185 Reputation: 26 Joined: 12/07/11 Last Seen: January 31 Share Posted April 23, 2012 Try this one.. when using a Custom Headger (ItemID 25234 ) get 10 Siver Coin in 1 minute & 100 Silver Coin in 1 hour, when not to use custom headger only get a silver coin every minute. - script minutepoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The minute points event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { dispbottom "The minute points event stopped because you were idle for 5 minutes. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute dispbottom "Total Minute's Played: " + @minute; if( @minute == 1 ) // 10 Minutes { if(getequipid(EQI_HEAD_TOP)==25234) { // Received 10 Silver COin set .@point_amt, 10; getitem 675,.@point_amt; dispbottom "You received "+.@point_amt+" Silver Coin by staying ingame for 1 minute"; } else{ // Received only 1 Silver Coin when 25234 is not Equip. set .@point_amt, 1; getitem 675,.@point_amt; dispbottom "You received "+.@point_amt+" Silver Coin by staying ingame for 1 minute"; } } if( @minute == 60 ) { // 1 Hour set @minute,0; set @consecutive_hour, @consecutive_hour + 1; if(getequipid(EQI_HEAD_TOP)==25234) { set .@point_amt, 100; getitem 675,.@point_amt; } else{ //set .@point_amt, 50; //getitem 675,.@point_amt; } } // Check for 1 hours consecutive // Received More Rewards if(@consecutive_hour == 2) { // Set Rewards Here.. set @consecutive_hour, 0; } stopnpctimer; initnpctimer; end; } Make a Random Color. 12221,Megaphone_,Megaphone,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ setarray .@Rand$[0], "0x51FF00", "0x0D00FF", "0x00FFD5", "0xDD00F", "0xFF8C00", "0xD5FF00", "0xFF00F7", "0xFFFFFF", "0x000000"; input @Megaphone$; announce strcharinfo (0) + ":" + @Megaphone$, bc_all, .@Rand$[rand(9)]; end; },{},{} Quote Link to comment Share on other sites More sharing options...
Hades03 Posted April 21, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Share Posted April 21, 2012 what do you mean you need broadcaster? and you need to play silver coin i have a script w8 Quote Link to comment Share on other sites More sharing options...
Yasunari Ishibashi Posted April 22, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 157 Reputation: 2 Joined: 01/06/12 Last Seen: August 25, 2014 Author Share Posted April 22, 2012 (edited) random chat color so no one color broadcaster. And for special zeny hourly script that uses custom headger (ItemID 25234) to get 10 silver coin every minute, and when not to use custom headger only get a silver coin every minute, if you can help change the script I mentioned above? Edited April 22, 2012 by Yasunari Ishibashi Quote Link to comment Share on other sites More sharing options...
Yasunari Ishibashi Posted April 24, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 157 Reputation: 2 Joined: 01/06/12 Last Seen: August 25, 2014 Author Share Posted April 24, 2012 (edited) what if using more than one instance headger : if(getequipid(EQI_HEAD_MID)==25234,25345,23435,23452) is it true as above? if the script is working 24 hours? when the player online for 24 hours? or having to relog every few hours? Thank you for helping me. Edited April 24, 2012 by Yasunari Ishibashi Quote Link to comment Share on other sites More sharing options...
Question
Yasunari Ishibashi
Solved
Edited by Yasunari Ishibashi[codebox]
Link to comment
Share on other sites
4 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.