is their any script who blocks medem users 28.8 and 56.6 users
here taken from my archive:
BotName = "GUARD"
function NewUserConnected(curUser)
data=curUser.sMyInfoString
s,e,cmd = strfind( data, "[$]+[^$]+[$]+[^$]+[$]+[^$]+[$]+([^$]+)" )
if (strfind(cmd,"28.8K")) then
curUser:SendPM(BotName,"no28.8 modem allowed in here ...")
curUser:Disconnect()
end
if (strfind(cmd,"33.6K")) then
curUser:SendPM(BotName,"no 33.6k modem allowed in here ...")
curUser:Disconnect()
end
if (strfind(cmd,"56K")) then
curUser:SendPM(BotName,"no 56k modem allowed in here ...")
curUser:Disconnect()
end
if (strfind(cmd,"ISDN")) then
curUser:SendPM(BotName,"no ISDN allowed in here ...")
curUser:Disconnect()
end
end
tnx m8 =)
this error comes after a while
1: function `strfind' [C]
2: function `NewUserConnected' at line 5 [file `...lone grejer1\Potax clone 4\scripts\no_modem.lua
BotName = "GUARD"
function NewUserConnected(curUser)
data=curUser.sMyInfoString
s,e,cmd = strfind( data, "[$]+[^$]+[$]+[^$]+[$]+[^$]+[$]+([^$]+)" )
if (strfind(cmd,"28.8K")) then
curUser:SendPM(BotName,"no 28.8 modem allowed in here ...")
curUser:Disconnect()
elseif (strfind(cmd,"33.6K")) then
curUser:SendPM(BotName,"no 33.6k modem allowed in here ...")
curUser:Disconnect()
elseif (strfind(cmd,"56K")) then
curUser:SendPM(BotName,"no 56k modem allowed in here ...")
curUser:Disconnect()
elseif (strfind(cmd,"ISDN")) then
curUser:SendPM(BotName,"no ISDN allowed in here ...")
curUser:Disconnect()
end
end