mIRC Home    About    Download    Register    News    Help

Print Thread
Scripting help #263475
10/08/18 10:46 AM
10/08/18 10:46 AM
Joined: Aug 2018
Posts: 3
F
Fujin Offline OP
Self-satisified door
Fujin  Offline OP
Self-satisified door
F

Joined: Aug 2018
Posts: 3
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)

Re: Scripting help [Re: Fujin] #263476
10/08/18 10:48 AM
10/08/18 10:48 AM
Joined: Dec 2008
Posts: 1,511
Greece
westor Offline
Hoopy frood
westor  Offline
Hoopy frood

Joined: Dec 2008
Posts: 1,511
Greece
Try change 'echo' to 'echo -a IS:'

/help /echo


Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-
Re: Scripting help [Re: westor] #263477
10/08/18 11:00 AM
10/08/18 11:00 AM
Joined: Aug 2018
Posts: 3
F
Fujin Offline OP
Self-satisified door
Fujin  Offline OP
Self-satisified door
F

Joined: Aug 2018
Posts: 3
This was working, only i don't have the host from the users.ini
And i want that also

Re: Scripting help [Re: Fujin] #263478
10/08/18 11:03 AM
10/08/18 11:03 AM
Joined: Dec 2008
Posts: 1,511
Greece
westor Offline
Hoopy frood
westor  Offline
Hoopy frood

Joined: Dec 2008
Posts: 1,511
Greece
What do you mean i cannot understand, describe it more please..


Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-
Re: Scripting help [Re: westor] #263479
10/08/18 11:08 AM
10/08/18 11:08 AM
Joined: Aug 2018
Posts: 3
F
Fujin Offline OP
Self-satisified door
Fujin  Offline OP
Self-satisified door
F

Joined: Aug 2018
Posts: 3
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

Re: Scripting help [Re: Fujin] #263480
10/08/18 11:10 AM
10/08/18 11:10 AM
Joined: Dec 2008
Posts: 1,511
Greece
westor Offline
Hoopy frood
westor  Offline
Hoopy frood

Joined: Dec 2008
Posts: 1,511
Greece
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?


Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-