mIRC Homepage
Posted By: Deep3D $true/$false - 15/12/02 04:25 PM
/dag {
//echo $?!="Shall I continue?"
if $1 == $true {
/echo -a Dag
}
if $1 == $false {
/echo -a nAtt
}
}

How to get it to work? i don't get the $true/$false thing!?! confused
Posted By: l337 Re: $true/$false - 15/12/02 04:33 PM
Test this one


alias dag {
var %a = $?!="Shall I continue?"
if (%a) {
echo -a Dag
}
else {
echo -a nAtt
}
}
Posted By: Deep3D Re: $true/$false - 15/12/02 04:35 PM
hey hey.. it works!! grin thanks..
Posted By: Merlin Re: $true/$false - 15/12/02 04:44 PM
Another solution using $input
Code:
 
alias dag {
  IF ($input(Shall I continue?,296,Shall I continue?,C) == $yes) {  /echo -a Dag }
  ELSE { echo -a nAtt }
}
 
Posted By: l337 Re: $true/$false - 15/12/02 04:50 PM
glad to help ya smile
Posted By: Deep3D Re: $true/$false - 15/12/02 05:04 PM
wink i have one more thing..

in the popups..

.Password ( $+ %cspass $+ ):/set %cspass $?*="Enter CService Password:"

how to show the %cspass whit ******** insted of "password"
Posted By: watcher Re: $true/$false - 15/12/02 05:13 PM
.Password ( $+ $str(*,$len(%cspass)) $+ ):/set %cspass $?*="Enter CService Password:"

:tongue: ?
Posted By: Deep3D Re: $true/$false - 15/12/02 05:15 PM
that also works.. thanks.. smirk
© mIRC Discussion Forums