Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TaskerData sr="" dvi="1" tv="5.7">
- <Task sr="task62">
- <cdate>1557644204543</cdate>
- <edate>1557652109914</edate>
- <id>62</id>
- <nme>WA-MsgSend</nme>
- <pri>100</pri>
- <Action sr="act0" ve="7">
- <code>523</code>
- <Str sr="arg0" ve="3">No Recipient Given</Str>
- <Str sr="arg1" ve="3">\%par1 is empty...</Str>
- <Str sr="arg10" ve="3"/>
- <Str sr="arg11" ve="3"/>
- <Img sr="arg2" ve="2"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- <Int sr="arg5" val="3"/>
- <Int sr="arg6" val="0"/>
- <Int sr="arg7" val="0"/>
- <Int sr="arg8" val="0"/>
- <Str sr="arg9" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%par1</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act1" ve="7">
- <code>523</code>
- <Str sr="arg0" ve="3">No Text Given</Str>
- <Str sr="arg1" ve="3">\%par2 is empty...</Str>
- <Str sr="arg10" ve="3"/>
- <Str sr="arg11" ve="3"/>
- <Img sr="arg2" ve="2"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- <Int sr="arg5" val="3"/>
- <Int sr="arg6" val="0"/>
- <Int sr="arg7" val="0"/>
- <Int sr="arg8" val="0"/>
- <Str sr="arg9" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%par2</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act10" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%received_timestamp</Str>
- <Str sr="arg1" ve="3">%TIMEMS</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act11" ve="7">
- <code>37</code>
- <label>Logging enabled?</label>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%WAlog</lhs>
- <op>12</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act12" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%log</Str>
- <Str sr="arg1" ve="3">%recipient;%key_id;%received_timestamp;%timestamp</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act13" ve="7">
- <code>410</code>
- <Str sr="arg0" ve="3">Tasker/wa-log.txt</Str>
- <Str sr="arg1" ve="3">%log</Str>
- <Int sr="arg2" val="1"/>
- <Int sr="arg3" val="0"/>
- </Action>
- <Action sr="act14" ve="7">
- <code>38</code>
- </Action>
- <Action sr="act15" ve="7">
- <code>123</code>
- <label>Send the message</label>
- <se>false</se>
- <Str sr="arg0" ve="3">sqlite3 /data/data/com.whatsapp/databases/msgstore.db 'INSERT INTO messages (key_remote_jid,key_from_me,key_id,status,needs_push,data,timestamp,media_url,media_mime_type,media_wa_type,media_size,media_name,media_hash,latitude,longitude,thumb_image,remote_resource,received_timestamp,send_timestamp,receipt_server_timestamp,receipt_device_timestamp,raw_data,recipient_count,media_duration,origin) VALUES ("%recipient", 1, "%key_id",0,0,"%WaMsgOutData",%timestamp,"","",0,0,"","",0,0,"","",%received_timestamp,-1,-1,-1,"",0,0,0)';</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3"/>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- </Action>
- <Action sr="act16" ve="7">
- <code>123</code>
- <label>Get message ID for this message</label>
- <Str sr="arg0" ve="3">sqlite3 /data/data/com.whatsapp/databases/msgstore.db 'SELECT _id FROM messages WHERE data="%WaMsgOutData"';</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3">%messageid</Str>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- </Action>
- <Action sr="act17" ve="7">
- <code>590</code>
- <label>Only select last ID</label>
- <Str sr="arg0" ve="3">%messageid</Str>
- <Str sr="arg1" ve="3"/>
- <Int sr="arg2" val="0"/>
- </Action>
- <Action sr="act18" ve="7">
- <code>354</code>
- <label>Only select last ID</label>
- <Str sr="arg0" ve="3">%testarr</Str>
- <Str sr="arg1" ve="3">%messageid</Str>
- <Str sr="arg2" ve="3"/>
- </Action>
- <Action sr="act19" ve="7">
- <code>356</code>
- <label>Only select last ID</label>
- <Str sr="arg0" ve="3">%testarr</Str>
- <Int sr="arg1" val="999999"/>
- <Str sr="arg2" ve="3">%messageid</Str>
- </Action>
- <Action sr="act2" ve="7">
- <code>137</code>
- <label>We require more information</label>
- <Int sr="arg0" val="0"/>
- <Str sr="arg1" ve="3"/>
- <ConditionList sr="if">
- <bool0>Or</bool0>
- <Condition sr="c0" ve="3">
- <lhs>%par1</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- <Condition sr="c1" ve="3">
- <lhs>%par2</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act20" ve="7">
- <code>37</code>
- <label>Logging enabled?</label>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%WAlog</lhs>
- <op>12</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act21" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%log</Str>
- <Str sr="arg1" ve="3">;%messageid</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act22" ve="7">
- <code>410</code>
- <Str sr="arg0" ve="3">Tasker/wa-log.txt</Str>
- <Str sr="arg1" ve="3">%log</Str>
- <Int sr="arg2" val="1"/>
- <Int sr="arg3" val="1"/>
- </Action>
- <Action sr="act23" ve="7">
- <code>38</code>
- </Action>
- <Action sr="act24" ve="7">
- <code>123</code>
- <label>Register the last message in the chat list</label>
- <se>false</se>
- <Str sr="arg0" ve="3">sqlite3 /data/data/com.whatsapp/databases/msgstore.db 'UPDATE chat_list SET message_table_id=%messageid WHERE key_remote_jid="%recipient"';</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3"/>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- </Action>
- <Action sr="act25" ve="7">
- <code>18</code>
- <App sr="arg0">
- <appClass>com.whatsapp.Main</appClass>
- <appPkg>com.whatsapp</appPkg>
- <label>WhatsApp</label>
- </App>
- <Int sr="arg1" val="0"/>
- </Action>
- <Action sr="act26" ve="7">
- <code>30</code>
- <Int sr="arg0" val="0"/>
- <Int sr="arg1" val="3"/>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act27" ve="7">
- <code>20</code>
- <App sr="arg0">
- <appClass>com.whatsapp.Main</appClass>
- <appPkg>com.whatsapp</appPkg>
- <label>WhatsApp</label>
- </App>
- <Str sr="arg1" ve="3"/>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- </Action>
- <Action sr="act3" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%WaMsgOutTo</Str>
- <Str sr="arg1" ve="3">%par1</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act4" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%WaMsgOutData</Str>
- <Str sr="arg1" ve="3">%par2</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act5" ve="7">
- <code>123</code>
- <label>Look for the name of the recipient (WaMsgOutTo)</label>
- <Str sr="arg0" ve="3">sqlite3 /data/data/com.whatsapp/databases/wa.db 'SELECT jid FROM wa_contacts WHERE display_name="%WaMsgOutTo" AND is_whatsapp_user=1';</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3">%recipient</Str>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- </Action>
- <Action sr="act6" ve="7">
- <code>523</code>
- <Str sr="arg0" ve="3">Who TF Is %WaMsgOutTo</Str>
- <Str sr="arg1" ve="3"/>
- <Str sr="arg10" ve="3"/>
- <Str sr="arg11" ve="3"/>
- <Img sr="arg2" ve="2"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- <Int sr="arg5" val="3"/>
- <Int sr="arg6" val="0"/>
- <Int sr="arg7" val="0"/>
- <Int sr="arg8" val="0"/>
- <Str sr="arg9" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%recipient</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act7" ve="7">
- <code>137</code>
- <label>Recipient known?</label>
- <Int sr="arg0" val="0"/>
- <Str sr="arg1" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%recipient</lhs>
- <op>13</op>
- <rhs></rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act8" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%key_id</Str>
- <Str sr="arg1" ve="3">%TIMES-1</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- <Action sr="act9" ve="7">
- <code>547</code>
- <Str sr="arg0" ve="3">%timestamp</Str>
- <Str sr="arg1" ve="3">%TIMEMS</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- </Action>
- </Task>
- </TaskerData>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement