idkase
Elpy
![*](images/star.gif)
Posts: 3
Joined: Jan 2014
Reputation: 0
Version:
1.4.1.118
|
Leave party script
Hi guys I've been looking for a "leave party script", so i can dismiss someone or invite him for example, every 4 minutes.
As far as i know , l2 tower cant do this on its own, if im wrong just say.
So, well i wonder if you can tell me if there's any script like this one around here.
Thanks in advance.
|
|
01-09-2014 07:10 AM |
|
cobra8co
Unknown
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
Posts: 407
Joined: Sep 2012
Reputation: 67
Version:
1.4.3.143
|
RE: Leave party script
Set on how u want to be invited auto accept party from the leader name ... and run on leader this ...
LUA Programming
repeat
Command("/invite charname");
Sleep(30000) -- 30s
Command("/dismiss charname");
Sleep(4*60*1000) -- 4 min w8
until false
I think is write like this ...
--- +1 or +2 me if I was helped you! try Google is your friend!
(This post was last modified: 01-09-2014 09:46 AM by cobra8co.)
|
|
01-09-2014 08:05 AM |
|
idkase
Elpy
![*](images/star.gif)
Posts: 3
Joined: Jan 2014
Reputation: 0
Version:
1.4.1.118
|
RE: Leave party script
It doesnt work, i think sleep time is wrong because my char invites and dismisses the user i wrote in the code like every 2 secs.
Something in sleep is not working i guess
Ok, nvm, it must be in milliseconds, but still Works, thank you!
(This post was last modified: 01-09-2014 09:06 AM by idkase.)
|
|
01-09-2014 08:57 AM |
|
kerberos464
Bug revealer
Posts: 1,537
Joined: Jun 2012
Reputation: 576
Version:
1.4.3.143
|
RE: Leave party script
Sleep command operates time in milliseconds
for 30 seconds you have to specify 30000.
for 4 minutes you have to specify 4*60*1000.
Everything is possible. The impossible just takes longer.
|
|
01-09-2014 09:07 AM |
|