mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2006
Posts: 9
Y
yayah1 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Y
Joined: Feb 2006
Posts: 9
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

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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)
}
 

Joined: Feb 2006
Posts: 9
Y
yayah1 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Y
Joined: Feb 2006
Posts: 9
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

Joined: Feb 2006
Posts: 9
Y
yayah1 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Y
Joined: Feb 2006
Posts: 9
please help me! i am past the dead line already...


Link Copied to Clipboard