How initialized a variable by SMS ??

I want to know How initialized a variable by sending SMS to mikrotik?

I do these steps:
1-Create a startup script in (\system\schedule) like this:
01.JPG
2-Create another script named SMSScript in (\system\scripts) like this:
02.JPG
3-Send a SMS To mikrotik,such as:
:cmd mypass script SMSScript myvar=value2

After that, the SMS received and the script runs.
But variable (myvar) did not receive the new value.
03.JPG
Where is the problem??? :frowning: :confused:
___I also use this Link for my purpose : http://wiki.mikrotik.com/wiki/Manual:Tools/Sms

wow, More than 50 visitors and no one had any advice. :question: :neutral_face:

I don’t think you’re actually setting a value with the line

:global myvar

to begin with.

Try to explicitly set it to an empty string or whatever you want the new value to be, like:

:global myvar ""

Well, you got some advice. How did it work out?

Hello MikroTik forum,

it is not working also for me with suggested examples. I created Ticket#2012083066000462 for this, let’s hope that we will get the solution.

Hello MikroTik forum members,

there was a bug confirmed by MikroTik team, it should be fixed in next release.

3.30-5.21 the bug very long!! :smiley:

Last reply from MikroTik support is that the bug will be fixed in 6.x version, in next release from 6.0r2, I’m keeping the ticket opened for this :slight_smile:

There was no update from MikroTik support team for more than month, I have opened a new ticket for this bug - Ticket#2013010766000731

DjM, any news?

Unfornatelly nothing - no information in changelog of ROS 5.x or 6.x, also no asnwer on both support tickets.

@MikroTik support team: Please provide update on this issue which is open for more than 2 months.

Thank you

Any progress?

There is still no update from MikroTik support team’s side on [Ticket#2013010766000731]. There was no reply on reminders send on 29/May and 21/May, also no information in releaselog of ROS that the issue has been fixed. I have send another reminder to support team on 03/June, let’s hope that there will be an answer. :confused:

Update on 4/June 2013:
I have received information from MikroTik support team, that bug is reported to developers, but there is no ETA/schedule, when the bug will be fixed :confused:

:global FanTempCount;

:if ($FanTempCount >= 0) do={
} else={
:set FanTempCount 0;
}

hold on!

Hello MikroTik support team,

what is the current status of solving this bug, please?

Thank you

hold on!

Ticket#2013010766000731

Hi vipe,

can you, please, share more details about your ticket?

Thank you

So, um, has this seriously NOT been working for the last 2 years?
I just tried to implement argument passing from a SMS, but I found it doesnt work.

So right now I dont know if Im doing something wrong, or if this is still broken.