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 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

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