mIRC Homepage
Posted By: Cyrex Proper $input usage - 17/07/04 06:53 PM
I would like to know if it is OK to use the /return command to call up an $input() dialog box? I've tested it, and it seems to work fine. But I just want to know if it should be used like this:


dialog test {
title "$input Test"
size -1 -1 87 38
option dbu
button "Button", 1, 0 0 0 0, cancel
button "Test", 2, 25 15 37 12
}

on *:DIALOG:test:sclick:2:{
return $input(This script has performed an illegal operation and will no longer be processed.,oh,mIRC32)
}
Posted By: Online Re: Proper $input usage - 17/07/04 07:40 PM
Usually we call $input, $regsub and $findfile (when the returned value is meaningless to the script) with !.echo -q
© mIRC Discussion Forums