mIRC Home    About    Download    Register    News    Help

Print Thread
#148080 29/04/06 08:56 PM
Joined: Apr 2006
Posts: 6
J
Jebus92 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Apr 2006
Posts: 6
This is my code:

/kyb //mode $chan +b $address($1,3) | //kick $chan $1 $read(kicks.txt) 12‹ $+ $kick.count $+ 12›

Now, everything goes fine, it kicks and bans, but it won't have anything as kick message(except kick count). The .txt file is in the main folder, not empty, and has that name.

#148081 29/04/06 09:27 PM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
There is nothing wrong with the code that I can see. Are you sure the file is in the right place?

#148082 29/04/06 10:35 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Try going to any mIRC window and typing this:

//echo -a $exists(kick.txt) - $read(kicks.txt)

It should echo something like this:

$true - <line from your text file>

OR

$false -



-genius_at_work


Link Copied to Clipboard