mIRC Home    About    Download    Register    News    Help

Print Thread
#1922 15/12/02 04:25 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
/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

#1923 15/12/02 04:33 PM
Joined: Dec 2002
Posts: 7
L
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
L
Joined: Dec 2002
Posts: 7
Test this one


alias dag {
var %a = $?!="Shall I continue?"
if (%a) {
echo -a Dag
}
else {
echo -a nAtt
}
}

#1924 15/12/02 04:35 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
hey hey.. it works!! grin thanks..

#1925 15/12/02 04:44 PM
Joined: Dec 2002
Posts: 164
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 164
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 }
}
 


DALnet: #HelpDesk, #mIRC, #MISHScript - Undernet: #mIRC, #mIRC-Scripts
#1926 15/12/02 04:50 PM
Joined: Dec 2002
Posts: 7
L
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
L
Joined: Dec 2002
Posts: 7
glad to help ya smile

#1927 15/12/02 05:04 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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"

#1928 15/12/02 05:13 PM
Joined: Dec 2002
Posts: 18
W
Pikka bird
Offline
Pikka bird
W
Joined: Dec 2002
Posts: 18
.Password ( $+ $str(*,$len(%cspass)) $+ ):/set %cspass $?*="Enter CService Password:"

:tongue: ?


-watcher
#1929 15/12/02 05:15 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
that also works.. thanks.. smirk


Link Copied to Clipboard