Login About Gallery
WhatsApp Spammer
Accepts
Contacts and Phone Numbers
COMMENT
‎Setting default Country code: Replace with country code of your choice without the + sign Ex: 91 for India (country code +91)
TEXT
‎91
VARIABLES
‎Set variable ‎Country code ‎to ‎Text
CONTACTS
‎Get phone numbers from ‎Shortcut Input
VARIABLES
‎Set variable ‎Shared_contact_phone ‎to ‎Phone Numbers
SCRIPTING
‎If ‎Shared_contact_phone ‎does not have any value
SHARING
‎Get clipboard
COMMENT
‎Removing "empty spaces" from the phone number in front and back and in middle
DOCUMENTS
‎Replace ‎^\s+ ‎with ‎World ‎in ‎Clipboard
Case Sensitive
Regular Expression
DOCUMENTS
‎Replace ‎\s+$ ‎with ‎World ‎in ‎Updated Text
Case Sensitive
Regular Expression
DOCUMENTS
‎Replace ‎with ‎World ‎in ‎Updated Text
Case Sensitive
Regular Expression
CONTACTS
‎Get phone numbers from ‎Updated Text
VARIABLES
‎Set variable ‎Shared_contact_phone ‎to ‎Phone Numbers
SCRIPTING
‎End If
VARIABLES
‎Set variable ‎Clip_phone ‎to ‎Shared_contact_phone
COMMENT
‎The next set of actions check to see if the clipboard does have a phone number or give the user a choice to pick
SCRIPTING
‎Count ‎Items ‎in ‎Clip_phone
SCRIPTING
‎If ‎Count ‎is greater than
COMMENT
‎Confirmed input has phone 1. Checking to see if it has a 0 in front and if so to remove it. Happens when phone number from default country 2. Checking to see if country code is included or default code needs to be added
TEXT
‎Split ‎Clip_phone ‎by ‎Every Character
SCRIPTING
‎Get ‎First Item ‎from ‎Split Text
SCRIPTING
‎Count ‎Items ‎in ‎Split Text
SCRIPTING
‎If ‎Item from List ‎is ‎0
SCRIPTING
‎Get ‎Items in Range ‎2 ‎to ‎Count ‎from ‎Split Text
‎Error Loading Action
VARIABLES
‎Set variable ‎Clip_phone ‎to ‎Item from List
SCRIPTING
‎End If
SCRIPTING
‎If ‎Clip_phone ‎contains ‎+
COMMENT
‎Remove the +
DOCUMENTS
‎Replace ‎+ ‎with ‎World ‎in ‎Clip_phone
Case Sensitive
Regular Expression
VARIABLES
‎Set variable ‎Full_phone ‎to ‎Updated Text
SCRIPTING
‎Otherwise
LIST
TEXT
‎Combine ‎List ‎with ‎Custom ‎Text
VARIABLES
‎Set variable ‎Full_phone ‎to ‎Combined Text
SCRIPTING
‎End If
SCRIPTING
‎Choose from Menu
SCRIPTING
‎WhatsApp Full_phone
SCRIPTING
‎Edit Number (without +)
SCRIPTING
‎Ask ‎Edit phone
Input Type
‎Text
Default Answer
‎[{'class': 'magic', 'value': 'Full_phone', 'glyph': 'assets/cat/Variable.svg', 'UUID': ''}]
SCRIPTING
‎End Menu
SCRIPTING
‎Otherwise
COMMENT
‎Clipboard is blank. No number passed as share input
SCRIPTING
‎Ask ‎Input number with country code (without +) Ex: 916026063750
Input Type
‎Number
Default Answer
‎0
TEXT
‎Provided Input
SCRIPTING
‎End If
SCRIPTING
‎Ask ‎What would you like to say?
Input Type
‎Text
Default Answer
‎Text
VARIABLES
‎Set variable ‎Message ‎to ‎Provided Input
SCRIPTING
‎Ask ‎How many messages would you like to send?
Input Type
‎Number
Default Answer
‎1
SCRIPTING
‎Repeat ‎Provided Input
MESSAGES
‎Send " ‎Message ‎" to ‎Recipients
SCRIPTING
‎End Repeat

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 2 years ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0