mIRC Homepage

i need help with a script....

Posted By: yayah1

i need help with a script.... - 18/02/06 12:15 AM

on *:TEXT:!price *:#: {var %item = $replace($1-,$chr(32),$chr(95))
.msg $nick Price of: %item is $readini(prices.ini,Prices,%item)
}


that was givin to me by a friend, he can not help me due to internet problems. I have all of the prices in a file i named "prices.ini". I know that it goes in the remote tab, but when i put it there, it does nothing for me. i need to know how to make my bot work and with the code and log it in when i want it to be logged in. If you could help, i will be verry thankful.

~yayah 1
Posted By: RusselB

Re: i need help with a script.... - 18/02/06 02:07 AM

This should've been posted in the Scripts & Pop-ups forum, not Developer Forum.

When this is in the Remote Tab of your mIRC, you have to get someone else to issue the command, you can't activate your own ON TEXT events

Also, I would change the code so that the item doesn't include !price (which with your code it does)
Here's a suggested modification:
Code:
 on *:text:!price &*:#:{
var %item = $replace($2-,$chr(32),$chr(95))
.msg $nick Price of $2- is $readini(prices.ini,Prices,%item)
}
 
Posted By: yayah1

Re: i need help with a script.... - 23/02/06 06:01 PM

ok, i have put in that script... now, i need to know... what do i do now? it is not working... do I have to be a OP or Half Op? I have voice....

http://img143.imageshack.us/img143/4872/help016qy.png
http://img143.imageshack.us/my.php?image=help024ny.png
http://img143.imageshack.us/img143/8365/help037ci.png

Those are pics of my screen and i need to know if i need aliases or pup-ups or any of that...

thank you, yayah 1
Posted By: yayah1

Re: i need help with a script.... - 23/02/06 06:17 PM

please help me! i am past the dead line already...
© 2021 mIRC Discussion Forums