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

leloush

New member
Messages
269
Points
0
Location
in front of my laptop =)
Emulator
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
default_biggrin.png


 
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... 

 
Last edited by a moderator:
Code:
-	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
 
- 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,49change guild_vs2 into gld2_prt
ty so much annie 
default_kis.gif


 
- 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,49change 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) ) 
default_tongue.png
so im wondering is *60  *60 *1000 is 1hour? 

 
Last edited by a moderator:
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;

 
Last edited by a moderator:
Back
Top