home *** CD-ROM | disk | FTP | other *** search
- ; Fserve stuff
- #chantrig on
- on 1:TEXT:%fstrig:%mchan1:{
- /if (%fson == 1 && %mchan1o == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- on 1:TEXT:%fstrig:%mchan2:{
- /if (%fson == 1 && %mchan2o == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- on 1:TEXT:%fstrig:%mchan3:{
- /if (%fson == 1 && %mchan3o == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- on 1:TEXT:%fstrig:%mchan4:{
- /if (%fson == 1 && %mchan4o == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- on 1:TEXT:%fstrig:%mchan5:{
- /if (%fson == 1 && %mchan5o == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- #chantrig end
- #ctcptrig off
- ctcp 1:%fstrig:{
- /if (%fson == 1) {
- /if ((%nlpmg == 1) && ($send(0) >= %maxglobal)) {
- /.notice $nick 2Sorry, 5but you can't come on4 %fstrig 5when max gets are in progress (2 $send(0) 5out of2 %maxglobal 5)
- }
- else {
- /if ($fserv(0) < %maxusers) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] FServe session started with $nick
- /fserve $nick %maxgets %homedir %wtext
- }
- else /.notice $nick 2Sorry,5 but there are no slots left on4 %fstrig - 5(2 $fserv(0) 5out of 2 %maxusers 5).
- }
- }
- else /.notice $nick 2Sorry,5 but4 %fstrig 5is not currently2 active.
- }
- ctcp 100:%fstrig:{
- /.notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- #ctcptrig end
- on 1:TEXT:!list:%mchan1:{
- /.notice $nick 5Type3 %fstrig 5to get on my 3leech5 fserve
- }
- }
- on 1:TEXT:!list:%mchan2:{
- /if (%fson == 1 && %mchan2o == 1) {
- /.notice $nick 5Type3 %fstrig 5to get on my 3leech5 fserve
- }
- }
- on 1:TEXT:!list:%mchan3:{
- /if (%fson == 1 && %mchan3o == 1) {
- /.notice $nick 5Type3 %fstrig 5to get on my 3leech5 fserve
- }
- }
- on 1:TEXT:!list:%mchan4:{
- /if (%fson == 1 && %mchan4o == 1) {
- /.notice $nick 5Type3 %fstrig 5to get on my 3leech5 fserve
- }
- }
- on 1:TEXT:!list:%mchan5:{
- /if (%fson == 1 && %mchan5o == 1) {
- /.notice $nick 5Type3 %fstrig 5to get on my 3leech5 fserve
- }
- }
- ; FServe BAN Stuff
- on 100:TEXT:%fstrig:%mchan1:{
- /if (%mchan1o == 1) /notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- on 100:TEXT:%fstrig:%mchan2:{
- /if (%mchan2o == 1) /notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- on 100:TEXT:%fstrig:%mchan3:{
- /if (%mchan3o == 1) /notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- on 100:TEXT:%fstrig:%mchan4:{
- /if (%mchan4o == 1) /notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- on 100:TEXT:%fstrig:%mchan5:{
- /if (%mchan5o == 1) /notice $nick 2Sorry,5 but you are banned from 4 %fstrig $+ .
- }
- ; FServe commands
- on 1:SERV:get*:{
- /set %exists $fserv($nick).cd $+ \ $+ $2-
- /if ($exists(%exists) == $false) {
- /msg =$nick 4Sorry,5 but the 3file2 $2- 5does not 2exist5.
- /unset %exists
- /halt
- }
- /if ($send($nick) == $null) .dcc send $nick
- else halt
- /msg =$nick 4Sorry,5 You are 3already getting2 a file
- }
- /unset %exists
- /if ($send(0) < %maxglobal) {
- /if ($getspp($nick) < %maxgets) {
- if ($group(#elog) == ON) /aline @EventLog [[ $+ $lavatime(5) $+ ]] %fstrig is sending $2- to $nick
- /if (%cfget == 0) {
- /msg =$nick 4 %fstrig 5is sending2 $2- 5to3 $nick
- /if (%cpscheck == 1) {
- /msg =$nick 5If the CPS of your send drops lower than3 %mincps 5CPS, it will be stopped.
- }
- }
- else {
- /msg =$nick 4 %fstrig 5is sending2 $2- 5to3 $nick 5- 2this 5fserve3 session4 will 3end4 in2 %cftime 4seconds.
- /if (%cpscheck == 1) {
- /msg =$nick 5If the CPS of your send drops lower than3 %mincps 5CPS, it will be stopped.
- }
- /timer 1 %cftime
- }
- ;/dcc send $nick " $+ $2- $+ "
- /inc %totalgets 1
- /unset %temp3
- }
- else {
- /msg =$nick 4 Sorry5, but you are 2getting5 to many files at once (2 $getspp($nick) 5/2 %maxgets 5).
- /unset %temp3
- /halt
- }
- }
- else {
- /msg =$nick 2Sorry, 5but the max number of 3gets5 total are in progress (4 $send(0) 5out of4 %maxglobal 5).
- /halt
- }
- ;halt
- }
-