PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: aL1en on 13 March, 2004, 15:55:42

Title: HOWTO "HIDE" The Bot?
Post by: aL1en on 13 March, 2004, 15:55:42
First of All.. hi to all.. nice forum here.. very nice indeed..


My question is very simple for ya guys.. but as i dont have any programming language experience, i dont want mess the script and the hub  ;)


Here it goes:

Im trying to "hide" the bot from the Users Screen.. let it running.. but noone sees it..

Ex: i got a SpamBan script.. and i dont want anyone see it.. what should i do?

should i delete only the part:

function Main()
   frmHub:RegBot(BotName)
end


??


please i accept all kinds of hints ;)

thnx very much.. and keep the good job..
Title:
Post by: aL1en on 13 March, 2004, 16:54:57
"should i delete only the part:

function Main()
frmHub:RegBot(BotName)
end "


i guess yes..
Title:
Post by: Troubadour on 13 March, 2004, 17:03:02
change this to

function Main()
frmHub:UnregBot(BotName)
end


Greetz Troubadour
Title:
Post by: aL1en on 13 March, 2004, 18:29:04
nice thanx Troubadour..

much better than simple delete the string ;)
Title:
Post by: Typhoon on 13 March, 2004, 19:41:03
also you can just do this

function Main()
-- frmHub:RegBot(BotName)
end
Title:
Post by: aL1en on 14 March, 2004, 12:23:24
nice.. thanks Typhoon.. add comments at front also works.. much better also then simply delete the command from script  ;)


btw.. my other topic about Tabulation in the Release_bot from Optimus just vanished..