mIRC Home    About    Download    Register    News    Help

Print Thread
#36247 14/07/03 10:48 AM
Joined: May 2003
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: May 2003
Posts: 4
I am working on this thing for my channel which writes code to a text file and on a trigger /plays it even if I zip up and send the mirc directory it doesn't work on other peoples PCs
Code:
 on *:JOIN:#: /msg $nick welcome $nick $+ ! to DaRk-XDCC distro. to view our FTPs type !ftps and we will send you a list of our FTPs these are not always up though
on *:TEXT:!ftps:#: /play $nick c:\darkdistro\ftps.txt
on *:TEXT:!addftp*:#: if ($nick isop $chan) { /write c:\darkdistro\ftps.txt $$2- | /msg $chan $nick sucesfully added11 $$2- }
on *:TEXT:!clear*:#: if ($nick isop $chan) { /write -c c:\darkdistro\ftps.txt | /msg $chan $nick sucesfully cleared the FTP list11  }
on *:TEXT:!addbot*:#, ?: if ($nick isop $chan) { /write c:\darkdistro\bots.txt $$2- | /msg $chan $nick sucesfully added the bot!11  }
on *:TEXT:!bots:#: if ($nick isop $chan) { /play $nick c:\darkdistro\bots.txt  }
on *:TEXT:!status:#: /msg $chan $me $+ 's status is $status to $server on port: $port network name is $network
on *:TEXT:!report*:#: /write c:\darkdistro\badftps.txt $$2- | /msg $chan the bad ftp has been added to the log and will be investigated
on *:TEXT:!badftps:#: if ($nick isop $chan) { /play $nick c:\darkdistro\badftps.txt  }
 


help correcting the code would be appreciated

#36248 14/07/03 11:01 AM
Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
Make sure when giving it to other people that they keep the directories as you have them -- c:\darkdistro\<files>. Otherwise, use $findfile.


- cF
Dedicated helper for rent.
#36249 14/07/03 11:02 AM
Joined: Dec 2002
Posts: 94
K
Babel fish
Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
the dir path,
try using $scriptdirftps.txt


Lets get dirty

Link Copied to Clipboard