hello... i have a problem with a DCDM++ i`m using RAW comand $kick %[nick] because: .... but when te DCDM founds a faker, it does nothing, because i don`t have !kick script...
can anywone help me and give me an script, thats includes only the kick script, but not all robocop script?? ;( ;( :( :(
QuoteOriginally posted by Ace
hello... i have a problem with a DCDM++ i`m using RAW comand $kick %[nick] because: .... but when te DCDM founds a faker, it does nothing, because i don`t have !kick script...
can anywone help me and give me an script, thats includes only the kick script, but not all robocop script?? ;( ;( :( :(
use !drop from ptokax and add a main event to a raw and a pm
much easier than running a script
$To: %[nick] From: %[mynick] $<%[mynick]> You are being kicked because: %[clienttype] - %[cheatingdescription]|<%[mynick]> is kicking %[nick] because: %[clienttype] - %[cheatingdescription]|<%[mynick]> !kick %[nick] %[cheatingdescription]|
Thats the RAW command you can use for dcdm++ that will kick auto for you, if thats what you meant. If you meant a script - theres loads of BOT out there for it. Thor to Robocop! Just look in the finished script section
ok, but can you give me anyway the script, please ?! :(
QuoteOriginally posted by n1ck
$To: %[nick] From: %[mynick] $<%[mynick]> You are being kicked because: %[clienttype] - %[cheatingdescription]|<%[mynick]> is kicking %[nick] because: %[clienttype] - %[cheatingdescription]|<%[mynick]> !kick %[nick] %[cheatingdescription]|
Thats the RAW command you can use for dcdm++ that will kick auto for you, if thats what you meant. If you meant a script - theres loads of BOT out there for it. Thor to Robocop! Just look in the finished script section
yes, a have that RAW comand in my DCDM, but my PtokaX don`t understand the !kick comand, and i nead a script where the kick (only) comand is defined
function dokick(curUser,data)
arg1,arg2 = GetArgs2(data)
local Nick = GetItemByName(arg1)
if Nick == nil then
curUser:SendData(Bot,"The user is Offline..!")
else
if Nick.iProfile == 1 or Nick.iProfile == 0 and curUser.iProfile == 1 then
curUser:SendData(Bot,"You cant kick a Operator..!")
end
if Mkicks[Nick.sName] == nil then
Mkicks[Nick.sName]=1
else
Mkicks[Nick.sName] = Mkicks[Nick.sName]+1
end
if Mkicks[Nick.sName] == MaxKicks then
SendToAll(Bot,"The user "..Nick.sName.." has being banned beacuse "..MaxKicks.."/Kicks..! His ip was "..Nick.sIP)
Mkicks[Nick.sName] = nil
Nick:Ban()
else
SendToAll(Bot,"AT: "..date("%d").."/"..date("%m").."-"..date("%Y").." KL: "..date("%T").." is "..curUser.sName.." is kicking: "..arg1.." beacuse: "..arg2.." his ip was: "..Nick.sIP)
ReasonKick[Nick.sName] = ""..Nick.sName.." was last kicked for "..arg2..""
SendPmToNick(arg1,Bot,"You are being kiced beacuse: "..arg2)
Nick:TempBan()
end
end
end
Try that!
hmmm, it`s not working...
i just need a script, who kicks user when i write a comand !kick in main chat.... already thanks! :(
Try this RAW:
$To: %[nick] From: %[mynick] $<%[mynick]> You are being kicked because: %[clienttype] - %[cheatingdescription]|<%[mynick]> is kicking %[nick] because: %[clienttype] - %[cheatingdescription]|$Kick %[nick]|
i allready have tryed, byt in the raw script issn`t the problem, bet there, where my ptokax don`t understand that i`m/dcdm++ are typing in main chat !kick :(
i need to get theses line [SIZE=3][B]!kick - Kicks a user and adds to tempban[/B][/SIZE]
!ban - Ban a user by IP (User kicked)
!bannick - Ban a nickname (User kicked if found)
!banip - Ban a IP or IP range (No check against online users)
in to ptokax help text.... t.i. i need to become tahat line with others when i type !help in main chat... and i need to work that !kick comand.... please help me! ;( ;(
are you saying that it works when you type it in main chat? or it doesnt work at all?
now the !kick comand doesnt work when i type it in the main chat, thats why my DCDM++ issn`t working propertly... :(
Ok try this!
add to user commands in Dcdm++
(user menu and chat)
!kick %[nick] %[line:Reason]
Name it kick2 or something, you will see it on your right click!
Man, use my RAW
it may work, altho not tested
btw theres kick after sending raw command option...
no! you bouth don`t understand me... :( in my raw line is OK
i`m all the time are receiving the List with fakers, who has slot locker and... and my DCDM++ doesn`t kick them because in my ptokax LUA scripts issn`t defineded the !kick comand...
In the all robocop scripts are the !kick comand, but i don`t need the all robocop script, except the !kick script, because i allready have same scripts, what i need....
please try to understand me ;(
-- Modded version VIPK by Plop
-- Fasted & easyest way haha (to make that is)
Bot = "=SimpleKick="
function Main()
frmHub:RegBot(Bot)
end
function DataArrival(user,data)
if( strsub(data, 1, 1) == "<" ) then
data=strsub(data,1,strlen(data)-1)
local s,e,cmd = strfind(data,"%b<>%s+(%S+)")
if user.bOperator then
if cmd == "!kick" then
user:SendData(Bot, DoKick(user, data).."|")
return 1
end
end
elseif(strsub(data, 1, 4) == "$To:") then
local s,e,whoTo = strfind(data,"$To:%s+(%S+)")
if whoTo == Bot then
data=strsub(data,1,strlen(data)-1)
local s,e,cmd = strfind(data, "%$%b<>%s+(%S+)")
if user.bOperator then
if cmd == "!kick" then
user:SendData(Bot, DoKick(user, data).."|")
return 1
end
end
end
end
end
function DoKick(user, data)
local s,e,name, reason = strfind(data, "%b<>%s+%S+%s*(%S*)%s*(.*)")
if name == "" then
return "*** I need a name to know who to kick!!"
elseif reason == "" then
return "*** I need a reason to kick the user!"
else
local victem = GetItemByName(name)
if victem ~= nil then
if victem.bOperator == nil then
victem:SendData(Bot, "You have been kicked by: "..user.sName.." because of: "..reason.."|")
victem:Disconnect()
return name.." has been kicked!"
else
return "*** We don't kick Operators!!"
end
else
return "*** "..name.." Isn't in the hub!!"
end
end
end
Maybe this is what you been looking for duno --> Optimus Not there lol