mIRC Homepage
Posted By: Fujin Scripting help - 10/08/18 10:46 AM
I have a script but it won't work.
Could someone tell me why ?

Quote:
on 5000:text:.whois:#: {
if (%cmd == off) { notice $nick Please wait two minutes. }
elseif (%cmd == on) { echo $readini(users.ini,users,$nick) }
}


And the output is * /echo: insufficient parameters (line 19, barbot.mrc)
Posted By: westor Re: Scripting help - 10/08/18 10:48 AM
Try change 'echo' to 'echo -a IS:'

/help /echo
Posted By: Fujin Re: Scripting help - 10/08/18 11:00 AM
This was working, only i don't have the host from the users.ini
And i want that also
Posted By: westor Re: Scripting help - 10/08/18 11:03 AM
What do you mean i cannot understand, describe it more please..
Posted By: Fujin Re: Scripting help - 10/08/18 11:08 AM
If you read the ini file by mirc you see only the flag like 5000
But in the ini file is it then 5000:*!*Fujin@Fujin.BNC.F-CC.Nl
But the host don't show up
Posted By: westor Re: Scripting help - 10/08/18 11:10 AM
First of all i don't have that INI file because i am not using that feature.

Can you paste an example of the INI file and describe me what you want to ECHO from that file?
© mIRC Discussion Forums