|
on DCCSERVER |
|
|
This event triggers when someone tries to connect to your DCC Server. The purpose of this event is to allow you to monitor connections and to prevent someone from connecting to your server by using /halt. |
|
Format: |
on <level>:DCCSERVER:<Chat|Send|Fserve>:<commands> |
||||||||||||
|
Example: |
on 1:DCCSERVER:Send:echo $nick $address wants to send you $filename |
||||||||||||
|
Examples |
||||||||||||
|
on 1:DCCSERVER:Chat:/echo $nick $address wants to chat with you! |
||||||||||||
|
on 1:DCCSERVER:Send:if (.exe isin $filename) /halt |
||||||||||||
|
The above event checks triggers when someone wants to send you a file, and if the file they're sending ends in .exe, it cancels the send by using the /halt command. |