mIRC Home    About    Download    Register    News    Help

Print Thread
#148080 29/04/06 08:56 PM
J
Jebus92
Jebus92
J
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
S
schaefer31
schaefer31
S
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,671
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,671
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