Well if finished the script adding and deleting ppl, and who dont have the right hostmark will be kickbanned. Butt the list is getting long. And i like too get the list in private notice when i msg the bot "privlist".
Well i tried a few things my self butt i doesnt seem too work atm.
Code: Select all
proc show_host { nick uhost hand chan } {
global privchan file
set f [open $file]
putserv "NOTICE $nick : Nr Hostmark"
foreach host [???????] {
}
}
}
What the idea is when i msg the bot i will get some thing like this.
<Botnick> : Nr Hostmark
<Botnick> : #1 Bla@bla.com
<Botnick> : #2 Bla@blabla.com
<Botnick> : #2 Bla@blablabla.com
etc.
Well would you guys give me some hints how its possible too display every hostmark saved in the file and add a number too it ?
You dont have too give me the hole script butt some help will be apreciated.
Hope you can help me