Relay? [message #188498] |
Sun, 05 February 2006 10:26 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Is there not a relay script for mirc...
One where it copies the text on one channel to another???
kinda like a admin channel.
![http://img287.imageshack.us/img287/9936/davesigea4rw5.png](http://img287.imageshack.us/img287/9936/davesigea4rw5.png)
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: Relay? [message #188584 is a reply to message #188498] |
Mon, 06 February 2006 05:53 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
on *:TEXT:#adminchan: {
if ($nick == botnick) {
if (!help isin $1-) {
halt
}
msg #mainchan $1-
}
}
on *:TEXT:#mainchan: {
if ($1 == !pi) {
msg #adminchan !pi
}
}
Above is a very basic code for relaying messages to channel. Have a look through it and see if you can understand it. To make it work but it in an mIRC remote.
#mainchan = Your main channel
#adminchannel = You admin channel
botnick = Name of your brenbot/nr/cs bot
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|
!setjoin? [message #188722 is a reply to message #188498] |
Mon, 06 February 2006 22:47 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
ok. Well now all i need is a !setjoin !viewjoin commands for my channels...lol does anyone know where to find???
![http://img287.imageshack.us/img287/9936/davesigea4rw5.png](http://img287.imageshack.us/img287/9936/davesigea4rw5.png)
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
|
|
|
|
|
|
Re: Relay? [message #189109 is a reply to message #188498] |
Thu, 09 February 2006 05:49 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
To allow the $ you can use $eval(string, 0/1) I think.
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|
Re: Relay? [message #189391 is a reply to message #188498] |
Fri, 10 February 2006 13:13 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2253.jpg) |
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
Useing a ini is much easyer to do
on *:join:#:{
if (!$readini(ini\config.ini,setjoin,$nick)) { }
else { .msg %mainchan $readini(ini\config.ini,setjoin,$nick) }
}
on *:TEXT:!setjoin*:#:{
.writeini ini\config.ini setjoin $nick $2-
.notice $nick your join message has been saved.
}
on *:TEXT:!viewjoin*:#:{
if (!$readini(ini\config.ini,setjoin,$nick)) {
.notice $nick You haven't set a join message yet, Set it now by typing: !setjoin [message] }
else { .msg %mainchan Your join message is: $readini(ini\config.ini,setjoin,$nick) }
}
on *:TEXT:!deljoin*:#:{
if (!$readini(ini\config.ini,setjoin,$nick)) {
.notice $nick You haven't got a join message to delete }
else { .remini ini\config.ini setjoin $nick | .notice $nick Done }
}
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's. ![Razz](images/smiley_icons/icon_razz.gif)
|
|
|
|
Re: Relay? [message #189414 is a reply to message #188498] |
Fri, 10 February 2006 16:30 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) |
![](http://renegadeforums.com/images/custom_avatars/4039.jpg) |
light
Messages: 988 Registered: January 2005
Karma: 0
|
Colonel |
|
|
A text file is easier I admit, but hash files are faster and more efficient. (You won't notice it, but it makes me feel good)
|
|
|