Jump to content
Blue Jem

Add announcer on my poring script

Recommended Posts

- script PoringMob -1,{


OnMinute17:
announce "Poring mob has started",0;
monster "prontera",1,1,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath";
end;


OnPoringDeath:
if(PoringKills < 30) goto l_nokills;
next;


l_nokills:
announce strcharinfo(0)+" is the winner! ",0;
killmonster "prontera","All";
getitem 7227,10;
end;
}

paano mag add ng annnouncer kung gaano kadami na n pinatay ng isang player

Edited by Patskie
Change topic title to a descriptive one
Link to comment
Share on other sites

sorry po nalito lang po ako

-	script	PoringMob	-1,{

OnMinute00:
	if(!(gettime(3) % 2)) {
		announce "Poring mob has started",0;
		monster "prontera",123,42,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath";
	}
	end;

OnPoringDeath:
	set @PoringKill,@PoringKill+1;
	if(@PoringKill == 30) {
		announce strcharinfo(0)+" is the winner!",0;
		atcommand "@killmonster2";
		getitem 7227,10;
	}
	end;

}
Link to comment
Share on other sites


- script PoringMob -1,{

OnMinute00:

if(!(gettime(3) % 2)) {

announce "Poring mob has started",0;

monster "prontera",123,42,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath";

}

end;

OnPoringDeath:

set @PoringKill,@PoringKill+1;

announce strcharinfo(0)+" has killed "[email protected]+" porings!",0;

if(@PoringKill == 30) {

announce strcharinfo(0)+" is the winner!",0;

atcommand "@killmonster2";

getitem 7227,10;

}

end;

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.