SRL Archive - Discussions and Debates

Playing a SCAR Script from another SCAR script.........


Avaphi

2007-02-18 23:49:29

I was wondering if you could play a scar script(Execute the script) from another scar script. ? Thanks alot.

Dark_Sniper

2007-02-18 23:59:16

isnt there somthing that lets scar comunicate with itself?

ill check it :\

Ejjman

2007-02-19 00:00:06

u should ask Dark Sniper, he somehow got it to give him rep if you ran this script if the rep giver isn't even on the screen. So I dunno how he got that to work, but ya, just use like dtms prolly..?

Avaphi

2007-02-19 00:00:33

I want to have one scar script Play The main loop, of another scar script. Is that possible?

Ejjman

2007-02-19 00:02:44

Explain more.

Avaphi

2007-02-19 00:05:13

I want to be able to play a script(Lets call it script a), and in the main loop will be a procedure that executes another scar scripts main loop, like…. PlayFile(Filename);

Infantry001

2007-02-19 00:24:25

i think "SendInterScarMessage" will help you

Avaphi

2007-02-19 00:25:12

No it wont, that has nothing to do with the execution of a script, you can only use that along side some boolean variables to get scar to communicate.

Infantry001

2007-02-19 00:27:01

ah alright i humbly accpet my inferiority :P lol

Avaphi

2007-02-19 00:33:55

… Lol. Anyone ??? Please? I am trying to make a tool for people of SRL.

Ejjman

2007-02-19 00:54:33

Tell what the tool will be? I don't understand how this could be used. Though I'm pretty inferior also.

Avaphi

2007-02-19 00:56:18

A manager of sorts :)

Ejjman

2007-02-19 01:03:22

Yet again…nOpe! Time to talk t o you on MSN.

Avaphi

2007-02-19 03:33:43

SOMEONE HELP ME please.

Boreas

2007-02-20 01:16:10

You can have the secondary script already running with

repeat
wait
until ISM

and then send the ISM with the primary script, which will break the loop and the secondary will start. AFAIK, that's the best you can do, it's not like batch files.

therealjdb

2007-02-25 02:28:35

From: Ejjman1
u should ask Dark Sniper, he somehow got it to give him rep if you ran this script if the rep giver isn't even on the screen. So I dunno how he got that to work, but ya, just use like dtms prolly..?

That may or may not have been my idea :f:

Dark_Sniper

2007-02-25 11:03:19

ya we could got it so that you connect to my site it quickly redirects to srl-fourms and give me rep then redirect back to my site.

that way you would not have known you gave me rep but :p i gave up on it XD.