Daniel_gr Posted December 3, 2005 Report Share Posted December 3, 2005 maybe a stupid question, but how do i get a script to do things when it connects to a room. am i supposed to use a on join combined with a nick = me, or is there another way. its only supposed to check when it enters the room. after that the changes are done true remote commands or in dialog thanks in advance Link to comment Share on other sites More sharing options...
Ozzy10 Posted December 4, 2005 Report Share Posted December 4, 2005 Use this for when you connect to server on *:CONNECT:{ stuff ere } and this for joining room on me:*:join:#: { stuff ere } Link to comment Share on other sites More sharing options...
Angelia Posted December 4, 2005 Report Share Posted December 4, 2005 when your script joins a room you can use: on me:*:join:#:{ command } when you're connecting you dont need to have any checks. Link to comment Share on other sites More sharing options...
Ozzy10 Posted December 4, 2005 Report Share Posted December 4, 2005 excuse me but on connect on ircx you need it for login in for oper so you can auto sign in etc so you would need a check for that he actually asked for the one for a room but i gave him the other too and you have just repeated the on join command that i posted lol Link to comment Share on other sites More sharing options...
Angelia Posted December 4, 2005 Report Share Posted December 4, 2005 didn't see the me in your code as for the connect, i meant you don't need if ($nick == $me) - should've explained that a lil better Link to comment Share on other sites More sharing options...
Daniel_gr Posted December 4, 2005 Author Report Share Posted December 4, 2005 thanks ozz and angelia. ill check if it works l8r, the server i intended it for is down atm. it actually isnt a regular irc server, but one of those chat-sites. but it runs on a ircx so should be ok. elminster(aka daniel_gr) Link to comment Share on other sites More sharing options...
Ozzy10 Posted December 4, 2005 Report Share Posted December 4, 2005 Ya welcome dan and its ok Angelia lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now