Can anyone make me a snippit/script which deletes any specified word from a text file? I couldn't find any resources online that would help.
Thanks in advanced.
How can I make the bot join/part a channel through a pm? I tried this: bind MSG -|- "join" msg:join bind MSG -|- "part" msg:part proc msg:join {nick uhost handle text} { set chan [lindex $text 0] [channel add $chan] putserv "PRIVMSG $chan :Invited by $nick" } proc msg:p...
Thanks! I edited the script and it works fine now. Here's the next thing i need help with. proc logip {ip} { set file [open iplog.txt a+] if {$ip != "0.0.0.0"} { puts $file "$ip" } close $file } But I would like to know how I can make it search if $ip exists in the file, and if i...
Never mind I decided to finish it. Here's what i need help on next: I decided to make it go by nicks. I wan't the nick to be removed from nicklog.db if it is kicked from the channel heres my current code which isn't working. bind kick - "#DontJoinItsATrap" unlog proc unlog {nick uhost hand...