Jump to content
  • 0
leloush

Hi, can i request for a script something like this.

Question

gld2_prt the map

 

enable npc for warping in to the said map

adds a timer 60minutes,

and after the time runs out it will automatically warped out all players inside this map,

disable the npc for warping in.. and will appear after 3hours.(example)

 

 

thanks :D

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
-	script	kjdhfksdjfhs	-1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000:	enablenpc "qwerty";	sleep 1 *60 *60 *1000; // 1 hour	mapwarp "guild_vs2", "prontera",156,191;	disablenpc "qwerty";	end;OnInit:	disablenpc "qwerty";	end;}prontera,156,195,5	warp	qwerty	2,2,guild_vs2,49,49
change guild_vs2 into gld2_prt

Share this post


Link to post
Share on other sites
  • 0

uhm this is an open warp free for all. i guess its ok to set limit for something 30-50+


well im planning to add OnTime in a script that will warp all players inside to their savepoint. after (7pm example), and a script to disable that npc warp.
but i want to see an example also... 

Edited by leloush

Share this post


Link to post
Share on other sites
  • 0

 

-	script	kjdhfksdjfhs	-1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000:	enablenpc "qwerty";	sleep 1 *60 *60 *1000; // 1 hour	mapwarp "guild_vs2", "prontera",156,191;	disablenpc "qwerty";	end;OnInit:	disablenpc "qwerty";	end;}prontera,156,195,5	warp	qwerty	2,2,guild_vs2,49,49
change guild_vs2 into gld2_prt

ty so much annie  :kis:

Share this post


Link to post
Share on other sites
  • 0

 

-	script	kjdhfksdjfhs	-1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000:	enablenpc "qwerty";	sleep 1 *60 *60 *1000; // 1 hour	mapwarp "guild_vs2", "prontera",156,191;	disablenpc "qwerty";	end;OnInit:	disablenpc "qwerty";	end;}prontera,156,195,5	warp	qwerty	2,2,guild_vs2,49,49
change guild_vs2 into gld2_prt

@annie thanks to this script..

 

but i dont get this *60 *60 *1000 ( cuz i set this into *5 *5 *1000 (for testing purposes) )  :P so im wondering is *60  *60 *1000 is 1hour? 

Edited by leloush

Share this post


Link to post
Share on other sites
  • 0

sleep 1 * 1000; // 1 second

sleep 60 * 1000; // 60 seconds = 1 minute

sleep 60 * 60 * 1000; // 60 minutes = 1 hour

sleep 1 *60 *60 *1000; // 1 hour

 

 

for testing purpose, perhaps can try 20 seconds

sleep 20*1000;

or

sleep 20000;

Share this post


Link to post
Share on other sites
  • 0

sleep 1 * 1000; // 1 second

sleep 60 * 1000; // 60 seconds = 1 minute

sleep 60 * 60 * 1000; // 60 minutes = 1 hour

sleep 1 *60 *60 *1000; // 1 hour

 

 

for testing purpose, perhaps can try 20 seconds

sleep 20*1000;

or

sleep 20000;

ok thank you annie :D  :thx:

Share this post


Link to post
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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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