Jump to content

lolwut

Members
  • Posts

    8
  • Joined

  • Last visited

lolwut's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. @ScriptFullPath This does it for you, so you don't need to know the name of the script. This function just creates a batch file and deletes the script from the batch file.
  2. Absolutely great UDF, in fact this should be included in the installer!
  3. Edit: Sorry for the double post, I just thought it would be handy for people who have troubles with this UDF. mmavipc, a wonderful AutoIT user has solved the problem! Here's what mmavipc said:
  4. Hey, I have a problem with the IRC UDF Chip made. So, when I connect and leave the IRC bot idle(more than ~2 minutes), it disconnects. It gives me this error message: <TEST_BOT> Hello! * TEST_BOT has quit IRC (Broken pipe) And AutoIT gives me this: >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Jay\My Documents\Programming\My AutoIT\IRC BOT\8ball.au3" C:\Program Files\AutoIt3\Include\IRC.au3 (120) : ==> Variable used without being declared.: TCPSend($irc, "PONG " & $ret & @CRLF) TCPSend(^ ERROR >Exit code: 0 Time: 106.255 This can't be a problem with the actual bot, because it says "C:\Program Files\AutoIt3\Include\IRC.au3 (120) : ==> Variable used without being declared" This is the part of the UDF that is giving me the trouble: ;=============================================================================== ; ; Description: Returns a PING to Server ; Parameter(s): $irc - Socket Identifer from _IRCConnect () ; $ret - The end of the PING to return ; Requirement(s): _IRCConnect () to be run ; Return Value(s): On Success - 1 ; On Failure - -1 = Server disconnected. ; Author(s): Chip ; Note(s): English only ; ;=============================================================================== Func _IRCPing($ret) If $ret = "" Then Return -1 TCPSend($irc, "PONG " & $ret & @CRLF) If @error Then MsgBox(1, "IRC.au3", "Server has disconnected.") Return -1 EndIf Return 1 EndFunc But I don't know a lot of AutoIT, so I can't decipher the error message Please, any help will be greatly appreciated! 8ball.au3 IRC.au3
  5. Oh, thanks Chip! Btw great UDF, I'll credit you on that.
  6. Sorry to bump this topic, but is any way my bot can "read" commands I add, like !msg, or !time, so I can make an intelligent bot?
  7. Oh I'm so sorry for this thread, I didn't realise my answer was in the help file. I feel so dumb now :S Please lock, sorry.
  8. Well basically I'm making a game menu. I need it to connect to and display my site, which shows bug fixes and so on, in a small area. I've seen this done in many MMOs. Like: For mines: Could somebody direct me in the right direction for this? Thanks.
×
×
  • Create New...