mIRC Home    About    Download    Register    News    Help

Topic Options
#9711 - 04/02/03 10:29 PM can you put *if's* inside dialogs?
xrn0id Offline
Fjord artisan

Registered: 23/01/03
Posts: 237
Loc: USA
how would I put an if command inside a dialog? or make a if command work for a dialog?
_________________________

;Check for Life

if (%life == $null) {
goto getlife
}

Top
#9712 - 05/02/03 03:01 AM Re: can you put *if's* inside dialogs?
Sabby Offline
Babel fish

Registered: 03/01/03
Posts: 94
Loc: Michigan, USA
u mean something like

edit $iif(%variable,%variable,""), 1, .......
?
_________________________
-
E-Mail: mirc_sabby@hotmail.com
Network: irc.enterthegame.com
Channel: #Helpdesk

Top
#9713 - 05/02/03 10:16 AM Re: can you put *if's* inside dialogs?
Thedude Offline
Ameglian cow

Registered: 18/01/03
Posts: 41
Loc: Kristiansand, Norway
Yup you can.
Code:
$iif($away == $true,come back,go away) 

Top