Example scripts and tips (replaces Old Scripts & Tips archive)
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
-
CyberCitizen
- Automation Wizard
- Posts: 721
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Post
by CyberCitizen » Fri Jul 05, 2013 5:33 am
Simple Script To Obtain Your Internet IP Address.
Script Shows The Use Of HTTPRequest & RegEx With EasyPattens.
Code: Select all
HTTPRequest>http://checkip.dyndns.com,,GET,,vHTMLResult
Let>text=%vHTMLResult%
Let>pattern=[IPAddress]
RegEx>pattern,text,1,matches,num,0
MessageModal>Your Internet IP Address Is: %matches_1%
FIREFIGHTER
-
alon
- Newbie
- Posts: 1
- Joined: Mon Aug 26, 2013 9:25 am
- Location: United Kingdom
-
Contact:
Post
by alon » Mon Aug 26, 2013 9:28 am
Oh its so simple...
-
HabitualWerewolf
- Newbie
- Posts: 3
- Joined: Wed Jul 14, 2010 9:33 am
- Location: Saint Paul, Minnesota, United States of America
-
Contact:
Post
by HabitualWerewolf » Tue Sep 03, 2013 3:43 am
This is so useful, thank you kindly!
Sometimes I guess that it's the thought that counts, I tired to rep you for it but the system told me..."To give reputation the same user you should spread it around."