Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dwaine message scripting
#2
So, to send packets thru scripting is rather hard, because of the fact that you cant make the packet within the script because of scripts and packets using the same terminating simbol (^), so, to get around this, the way i use is make the packet before hand and save it to somewhere usually /home, then, instead of making it within the scrip, just CP /home/packetname /mnt/radio/1149, which will send the packet to the radio sending it out, while still saving the script for reuse. In this case, your script would look like
echo command=text_message|nmessage=test|nsender_name=test ^/home/PdaTest
echo #!|ncp /home/PdaTest /mnt/radio/1149 ^ /home/ScriptTest
Reply


Messages In This Thread
Dwaine message scripting - by Drewmajor11 - 09-24-2020, 11:33 AM
RE: Dwaine message scripting - by Boxta - 09-24-2020, 01:35 PM
RE: Dwaine message scripting - by Drewmajor11 - 09-24-2020, 05:04 PM
RE: Dwaine message scripting - by Boxta - 09-24-2020, 06:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)