Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- #ACCOUNT_STRING# - inserts the login info of the account that is taking the current action
- ---- #ADDSPACES(minDistance,maxDistance,text)# - the macro will insert blank spaces after each
- random number of characters in text. the distance between spaces is a random number between
- minDistance and maxDistance. For example one random output for #ADDSPACES
- (1,3,sampletext)#
- is "sa m ple te xt"
- ---- #ADDSPACES2(minDistance,maxDistance,spaceText,text)# - the macro will insert spaceText
- (which can be a space character or any other text, for example in html you can use ) after
- each random number of characters in text. The distance between spaces is a random number
- between minDistance and maxDistance. The macro also adds 2 additional spaceText after each
- blank space in the original text. For example one random output for
- #ADDSPACES2(1,3, ,hello there how are you)# is "h el lo t h er e h o w ar e y ou"
- ---- #BASE64ENCODE(text)# - encodes the given text to it's base64 representation
- ---- #COUNTER# - every time this variable is found, an internal counter is increased by 1 and the
- value of the counter is placed (first value returned is 1)
- ---- #CONDITIONALRESPONSE(regex_condition,text_on_match,text_on_nomatch,text_to_match)#
- checks if the regular expression defined in regex_condition matches the text in text_to_match. If
- it does, then return text_on_match, otherwise return text_on_nomatch
- ---- #DEC(number,delta)# decrement a number by a given delta value. Example:
- #DEC(4,1)# will return 3. #DEC(4,#RANDOM(1)#)# will decrement with a random value
- ---- #INC(number,delta)# increment a number by a given delta value. Example:
- #INC(4,1)# will return 5. #INC(4,#RANDOM(1)#)# will increment with a random value
- ---- #DEFVAL(text|default_value)# if text is empty it returns default_value, otherwise it returns
- text
- ---- #HTMLENCODE(text)# - encodes html text so that it's only visible in a browser. For example
- www.google.com becomes:
- www.google.com
- ---- #HTTPESCAPE(text)# - escapes a text, replacing non-alphanumeric characters with
- their hexadecimal representation
- ---- #HTTPGET(url)# - returns the content of the given URL
- ---- #INTERNETDATE# - returns current date in internet format (example: Mon, 8 Jun 2009)
- ---- #LB# - inserts a line break (new line) in text
- ---- #LOWERCASE(text)# - turns all characters in text to lowercase
- ---- #PLAINTOHTML(text)# - adds <br /> tags before each new line in the text
- ---- #PROXY_DOMAIN# - resolves and returns the hostname for the proxy ip (by default, the
- program
- resolves the hostname for the ip that the program connects to, even if that is not the proxy's
- public ip.
- To get the proxy's public ip use #PROXY_DOMAIN(external)# to make the program get the real ip
- first)
- ---- #PROXY_IP# - places the ip of the proxy (if using a proxy)
- ---- #PROXY_PORT# - places the port of the proxy (if using a proxy)
- ---- #RANDOM# - each time it is encountered it will produce a different random text (alphabetic
- characters).
- You can call the random function with additional parameters to generate a text of variable length.
- Example:
- #RANDOM# - would generate a random lowercase text of length between 5 and 12
- #RANDOM(5)# - generates a random lowercase text of fixed length: 5
- #RANDOM(5,20)# - would generate a random lowercase text of length between 5 and 20
- #RANDOM(5,20,1)# - would generate a random UPPERCASE text of length between 5 and 20
- #RANDOM(5,20,2)# - would generate a random MIXED CASE text of length between 5 and 20
- ---- #RANDOMNUM# - each time it is encountered it will produce a different random number.
- The syntax is the same as for the #RANDOM# function.
- ---- #RANDOMALNUM# - each time it is encountered it will produce a different random
- alpha-numeric
- text. The syntax is the same as for the #RANDOM# function.
- ---- #RANDOMCASE(text)# - randomizes the case of each letter in text
- ---- #RANDORDER(text1|text2|text3|...)# - puts the texts in random order (multiple
- texts are separated by the "|" character)
- Example:
- #RANDORDER(hi |whazz up? |hello )# - may output "whazz up? hi hello"
- (note the extra space before | character)
- ---- #RANDSET(text1|text2|text3|...)# - chooses a random text from the ones given (multiple
- texts are separated by the "|" character)
- Example:
- #RANDSET(hi|whazz up?|hello)# - may output either hi, hello or whazz up?
- ---- #REPEAT(minCount,maxCount,text)# - repeats a given text randomly between <minCount>
- and <maxCount> number of times. For example #REPEAT(2,6,<br>)# will produce (if it the random
- number in the given range is 4): <br><br><br><br>
- ---- #UPPERCASE(text)# - turns all characters in text to UPPERCASE
- ---- #STOREVAL(id,value)# - save a value to use it later on same thread. Program will replace
- this macro with the actual stored value.
- Example #STOREVAL(myrand,#RANDOMNUM#) - will save the result of #RANDOMNUM# macro
- so you can later use the exact same number using #LOADVAL(myrand)#
- ---- #LOADVAL(id)# - load a value previously stored using #STOREVAL(id,val)# macro
- Example #LOADVAL(myrand)# - will load the value that you previously stored
- using #STOREVAL(myrand,your value)#
- ---- #DATE# - returns the current date
- ---- #DAYOFWEEK# - returns the name of the current day of the week (based on regional
- settings)
- ---- #DAYOFMONTH# - returns the current day of the month
- ---- #MONTHOFYEAR# - returns the current month number of the year
- ---- #MONTHNAMEOFYEAR# - returns the name (based on regional settings) of the current month
- ---- #CURRENTYEAR# - returns the current year
- ---- #TIME# - returns the current time of the day
- ---- #TIMEBETWEEN(startTime,endTime,text if local time is between bounds, text if time is not
- between bounds)# -
- returns different text depending if local (computer) time is between a certain range or not.
- Example #TIMEBETWEEN(9:00,14:00,yes,no)# will return yes if time is between 9 AM and 2 PM,
- and no otherwise
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement