Jump to content

s2pidnab

Members
  • Posts

    3
  • Joined

  • Last visited

2 Followers

Profile Information

  • Gender
    Male
  • Location
    Philippines

s2pidnab's Achievements

Poring

Poring (1/15)

0

Reputation

1

Community Answers

  1. To begin with, I would like to ask if it is possible to show the the remaining time before a player will get his/her next reward. The script is all about using @reward to check the remaining time of the player before he/she can get the reward. See script: - script hourlypoint1s -1,{ //--Start of the Script OnPCLoginEvent: dispbottom "Hourly Points will start now."; attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){ set @minute,0; set #IGPOINTS, #IGPOINTS + 2; dispbottom "You received 2 In-Game Points for staying 1 hour in-game."; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 5) { set @consecutive_hour,0; set #IGPOINTS, #IGPOINTS + 10; dispbottom "You received 10 In-Game Points for staying 5 hours in-game."; } stopnpctimer; initnpctimer; end; } - script check -1,{ OnInit: bindatcmd "igpts",strnpcinfo(3)+"::OnCheck"; end; OnCheck: dispbottom "You have " +#IGPOINTS+ " In-Game Points."; end; } - script time -1,{ OnInit: bindatcmd "reward",strnpcinfo(3)+"::OnReward"; end; OnReward: dispbottom "You still have " +//remaining minutes+ " to get your next reward."; end; } How can you set the timer to 60minutes as starting or [1hr] and the "@minute" in the script will be the one to decrement it so I can use it in my @reward command? Thanks alot.
  2. Onstart: warpparty "guild_vs4",7,50,$@TeamID5; warpparty "guild_vs4",92,50,$@TeamID6; set $@startss,1; monster "prontera",0,0,"Quest Poring",1002,10; sleep 2000;// add a delay of 5 secs mapannounce "guild_vs4","BUFF READDYYY!!",0; sleep 5000; for ( .@i = 5; .@i >= 0; .@i-- ){// mapannounce the count 5 4 3 sleep 1000; mapannounce "guild_vs4", .@i == 0 ? "Go!" : "starts in "+ .@i +" seconds..",0; atcommand "@killmonster"; } end; somewhat like this? hmm. not working thanks alot i got it solved
  3. Onstart: warpparty "guild_vs4",7,50,$@TeamID5; warpparty "guild_vs4",92,50,$@TeamID6; set $@startss,1; sleep 2000;// add a delay of 5 secs mapannounce "guild_vs4","BUFF READDYYY!!",0; sleep 5000; for ( .@i = 5; .@i >= 0; .@i-- ){// mapannounce the count 5 4 3 sleep 1000; mapannounce "guild_vs4", .@i == 0 ? "Go!" : "starts in "+ .@i +" seconds..",0; } end; how to add monsters in map and on its specific coordinates? onstart, i want barricades that will spawn on specific coordinates and kill it after counting. Thank you for your reply
×
×
  • Create New...