do you also know how i can make this as smoth as possible? i trying to read from mirc.ini if loging is enabled, the problem is that i have 2 lines to check, dont know if its cos im tired, but cant figure out how to solve it.. :tongue:
this line return: 0 if channel log is disabled, else 1 $gettok($readini($mircini,options,n1),13,44)
this line return: 0 if chat log is disabled, else 1 $gettok($readini($mircini,options,n1),14,44)
it should check line 1 .. if thats disabled it should go to line 2, if that also disabled it should set a %var 0, if 1 of the lines is enabled it should reurn a %var 1 .. :tongue:
Last edited by sparta; 27/11/0405:41 PM.
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }