PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: uffetjur on 17 May, 2005, 03:27:36

Title: Bot hiding script
Post by: uffetjur on 17 May, 2005, 03:27:36
If im not wrong there where a bot hiding script creates in lua4 but its a long time sens I saw it,

My question is : Is it possible to create a script that hide bots from user list!
Title:
Post by: uffetjur on 17 May, 2005, 09:45:38
Thanks for your fast respond, but sems to be an error, script aint working
Title:
Post by: Dessamator on 17 May, 2005, 10:45:52
function ChatArrival(user, data)
if Profiles[user.iProfile] ==1 then
[COLOR=red] if string.sub(data,1,1)=="<" then[/COLOR]
data=string.sub(data,1,string.len(data)-1)
s,e,cmd,name = string.find(data,"%b<>%s+(%S+)%s+(%S+)")
if cmd=="!killbot" then
frmHub:UnregBot(name)
return 1
elseif cmd=="!listbot" then
frmHub:RegBot(name)
return 1
end
[COLOR=red]end[/COLOR]
end
end
remove those red lines from the script, and well the script does remove the bots, but not the ones from the ptokax or from scripts only the ones created by the listbot command
might be a ptokax 17.07 bug
Title:
Post by: ?Tr??T_???? on 11 August, 2005, 10:22:44
script not workin i am typing !killbot Trivia and nothing...