mIRC Home    About    Download    Register    News    Help

Print Thread
#162247 16/10/06 04:18 AM
Joined: Aug 2006
Posts: 44
X
Xtibian Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Aug 2006
Posts: 44
First: How do you write to a file that you wish? Such ass !add $- which would write whatever you put to the file you have picked in the script.

Second: Can some explain $iff to me? I know what some do but dont really understand them(such as $iif($left($1,1) == @,msg $chan,.notice $nick) and $iff($2,$2,$nick) does).

Thanks


Newbie Scripter. Learning pretty fast...lol :P
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/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)


Invision Support
#Invision on irc.irchighway.net
Joined: Aug 2006
Posts: 44
X
Xtibian Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Aug 2006
Posts: 44
Oh ok thank you for your help.

$iff was a typo XD


Newbie Scripter. Learning pretty fast...lol :P

Link Copied to Clipboard