Additional Parameters

Here is a full list of additional parameters you can use in X3 MintEclipse:

Text Manipulation

OperatorDescriptionExample
##upper:(args)UpperCase converter##upper:($a)
##lower:(args)LowerCase converter##lower:(ABCD)
##reverse:(args)text reverser##reverse:(dCbA)
##capitalize:(args)text capitalizerreg str a ##captalize:($username)

Date & Time parameters

OperatorDescriptionExample
##timesecondsreturns python's time.time() returnprt ##timeseconds
##datereturns current date in format %Y-%m-%dprt ##date
##timereturns current time in format %H:%M:%Sprt ##time
##msecreturns current time in millisecondsprt ##msec
##datetimereturns datetime.datetime.nowreg str start ##datetime
##datetime:isoreturns datetime.datetime.now in iso formatreg str start ##datetime:iso
##datetime:isoreturns datetime.datetime.now(datetime.timezone.utc) in iso formatreg str start ##datetime:utc

System based parameters

OperatorDescriptionExample
##uuidreturns a randomly generated uuidreg str example ##uuid
##userreturns the current name of the sys account being usedprt ##user
##hostnamereturn's the hostname prt ##hostname
##platformreturns the platform the client is running onif ##platform == Windows
##osversionreturns the operating system's versionif ##osversion != "10.0.19045"
##cwdreturns current work direcortydelete_dir ##cwd //DONT DO THIS ;-;
##env:keyreturns environment variablesprt ##env:(USERNAME)
##REPLinterpreter execution stateif ##REPL != 1
##envreturns environment variables/pathsreg str start

Random value return parameters

OperatorDescriptionExample
##randomreturns a random float valuereg int random ##random*1000
##randintreturns a random integer value between 1 and 100reg int random ##randint
##randboolreturns true or false.if ##randbool == True

Miscellaneous

OperatorDescriptionExample
##ping:(url)returns pingreg int delay ##ping:(https://google.com)
##fetch:(url)returns HTML/text content from URLreg str page ##fetch:(https://example.org)
##fetch:json:(url)returns parsed JSONreg str data ##fetch:json:(https://api.example.org/data)
##fetch:status:(url)returns HTTP status codereg int status ##fetch:status:(https://example.org)
##fetch:headers:(url)returns HTTP headers as dictreg str headers ##fetch:headers:(https://example.org)
##fetch:content:(url)returns raw byte contentreg str content ##fetch:content:(https://example.org)
##fetch:html:(url)returns HTML body as stringreg str html ##fetch:html:(https://example.org)
##fetch:xml:(url)returns XML stringreg str xml ##fetch:xml:(https://example.org/data.xml)
##rgb:(hex)returns RGB tuple from HEX colorreg str color ##rgb:(#aabbcc)