Community discussions

MikroTik App
 
runbound
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Fri Apr 19, 2013 9:28 am

sms parsing

Thu Jun 02, 2022 6:33 am

pls help how to run the script44 with parsing

:do {/ppp secret
:foreach ix in=[find where (comment="10")] do={
:local pay [:parse [:system script get script44 source]]

:do {/tool sms send phone-number="+55989894" message="$pay"
}

}
} on-error={:log error message="script failed102"}


#script44 script
:log warning message=("PAID")
:local fname [ROSE]
:local lname [BUCATTER]

HI, $fname $lname
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: sms parsing

Thu Jun 02, 2022 4:38 pm

You can not use one (wrong) example of how run script
viewtopic.php?p=934500#p626990
and try to use it as working standard...

Who is online

Users browsing this forum: diamuxin, totpbi, UkRainUa and 22 guests