Skip to content
General IRCX

check on room connect

A TG007 community discussion started by Daniel_gr.

Discussion 7 posts
Page 1 of 1
Open
Topic #5379 · 7 published posts · 1,742 views

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

Use this for when you connect to server

on *:CONNECT:{ stuff ere }

and this for joining room

on me:*:join:#: { stuff ere }

Edited Dec 4, 2005 12:33 AM by Ozzy10

My code does NOT have bugs. It just develops random features.

when your script joins a room you can use:

on me:*:join:#:{ command }

when you're connecting you dont need to have any checks.

People are like slinkies; they're generally boring until you push them down stairs

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

Edited Dec 4, 2005 2:52 AM by Ozzy10

My code does NOT have bugs. It just develops random features.

didn't see the me in your code :oops:

as for the connect, i meant you don't need if ($nick == $me) - should've explained that a lil better

People are like slinkies; they're generally boring until you push them down stairs

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)

Ya welcome dan

 

and its ok Angelia lol

My code does NOT have bugs. It just develops random features.