Skip to content
General IRCd

On connect to specific Server

A TG007 community discussion started by sugarboy.

Closed discussion 4 posts
Page 1 of 1
Closed
Topic #5050 · 4 published posts · 1,687 views

On, Sorry if this isn't in the right category but i figured since I have a ircd server and this relates to a script that if for that server i should post here. Okay anyways to the question.

 

I am writing a basic, yet simple script for my server. I thought the idea of having it display a message upon connection to the server. Not a /motd but just a simple echo kinda like.

 

on *:connect:{
  .echo You are connected to bleh bleh server
}

 

Is this possible? If so could someone please help?

*Insert interesting signature here*

On, Sorry if this isn't in the right category but i figured since I have a ircd server and this relates to a script that if for that server i should post here. Okay anyways to the question.

 

I am writing a basic, yet simple script for my server. I thought the idea of having it display a message upon connection to the server. Not a /motd but just a simple echo kinda like.

 

on *:connect:{
  .echo You are connected to bleh bleh server
}

 

Is this possible? If so could someone please help?

 

 

on *:connect:{
  echo -a You are connected to $server
}

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

on *:connect:{
echo -a You are connected to $server
}

 

 

 

Just something there the -a is for active window if u want to put it on a pasific wndow u should use

 


on *:connect:{
echo @yourwin  You are connected to $server
}

 

 

<wo0t>

also $network will echo the network like dalnet , and $server will echo blah.blah.blah.dal.net