vi spiego brevemente il suo funzionamento....il programma legge tutti i messaggi che il cellulare riceve e appena riconosce un sms con scritto start si attiva e reinvia tutti i messaggi che il cellulare riceve al mittente dell'sms che ha attivato il programma(quindi quello che ha inviato l'sms con scritto start).
Basterà poi inviare un sms con scritto stop per bloccare l'invio dei messaggi.
use sms,time print"________________________________"; print""; print" sms resender v2.0"; print" by SaRtE"; print"________________________________\n"; while true do print "Waiting the start..."; n=sms.receive(); m=sms.get(n); t=lower(trim(m["text"])); if t="start" then sms.send(m["sender"],"connesso!!"); print"connesso a: "+m["sender"]; u=m["sender"]; k=0; while k=0 do print "Waiting..."; nx=sms.receive(); mx=sms.get(nx); tx=lower(trim(mx["text"])); if tx="stop" then sms.send(u," stopped!!"); print"stopped!!"; k=1 else sms.send(u,mx["sender"]+" testo: " +tx); print"*sms reinviato a: "+u+"\n*testo: "+tx; end; end; end; end;

Aiuto















Pubblicità