Jump to content

Recommended Posts

Posted
procedure AcceptMail;

begin
while Engine.Status = lsOnline do begin delay(60000); //check every 1 minute
engine.getmailitems;
end;
end;



procedure SendMail;

begin
while Engine.Status = lsOnline do begin delay(60000); //check every 1 minute
engine.SendMail('charname','text','text ',([57,1000]));
end;
end;



begin
script.newthread(@AcceptMail);

script.newthread(@SendMail);
end.


 

Posted
On 5/4/2018 at 1:02 PM, arturo134 said:

procedure AcceptMail;

begin
while Engine.Status = lsOnline do begin delay(60000); //check every 1 minute
engine.getmailitems;
end;
end;



procedure SendMail;

begin
while Engine.Status = lsOnline do begin delay(60000); //check every 1 minute
engine.SendMail('charname','text','text ',([57,1000]));
end;
end;



begin
script.newthread(@AcceptMail);

script.newthread(@SendMail);
end.



 

Thank you for share, however I have not managed to make it work, when I launch script it doesn't take random chars to send message, i get in game text ( When the recipient doesn't exist or the character has been deleted, sending mail is not possible.)

Posted
20 hours ago, deniss565 said:

Thank you for share, however I have not managed to make it work, when I launch script it doesn't take random chars to send message, i get in game text ( When the recipient doesn't exist or the character has been deleted, sending mail is not possible.)

you know basic to read scripts? if no, read this http://asiwin.com/api/adrenalin/Classes/TL2Control

  • 1 month later...
Posted
13 hours ago, DimensionalGames said:

Is there a chance u have discord? Because i mostly use it.

yes i can make if you have really working mass pm/mail script on smartguard/l2-s i can register anything in world and talk :D 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock