/help /write
Example:
/write filename.txt This is something I want to write to the file.
$iif (not $iff) is basically an IF/ELSE all in one command.
$iif(condition,true,false)
That basically says, If the "condition" is true, do the command that is in the true spot. If not, then do the false command.
Example:
$iif($me ison #Invision,msg #Invision Hello,join #Invision)