Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » help with irc
help with irc [message #288933] Sun, 07 October 2007 12:23 Go to next message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
hi there i was wondering if anyone has a irc bot/script that will set people what i tell it to the bot will be channel owner and will set me +q in the chan. and in the other 2 chans aswell it will do the same for other people i tell it to like aohv in all 3 chans lol. i have asked a few people but some did not know and some busy. us there anyone what know how i can make this?
Re: help with irc [message #288934 is a reply to message #288933] Sun, 07 October 2007 12:29 Go to previous messageGo to next message
BlueThen is currently offline  BlueThen
Messages: 2402
Registered: February 2006
Karma: 0
General (2 Stars)
Are you wanting the bot to set people owner in any chan you want? Because that's not possible unless you are a irc op...
Re: help with irc [message #288935 is a reply to message #288933] Sun, 07 October 2007 12:30 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Why not just register the channel and give the people auto-op / hop / voice status? It's built right into IRC...

/cs register <#channel> <password> <description>

/cs aop <#channel> add <person>


http://steamsignature.com/card/1/76561197975867233.png
Re: help with irc [message #288952 is a reply to message #288935] Sun, 07 October 2007 14:52 Go to previous messageGo to next message
Rev
Messages: 51
Registered: November 2004
Karma: 0
Recruit
danpaul88 wrote on Sun, 07 October 2007 15:30

Why not just register the channel and give the people auto-op / hop / voice status? It's built right into IRC...

/cs register <#channel> <password> <description>

/cs aop <#channel> add <person>


Because chanserv can only set one person +q unless you use access. which is what he should use


/cs access (channel) add (person) (level)


...
Re: help with irc [message #288954 is a reply to message #288952] Sun, 07 October 2007 15:01 Go to previous messageGo to next message
BlueThen is currently offline  BlueThen
Messages: 2402
Registered: February 2006
Karma: 0
General (2 Stars)
...or

/mode channel +q person
Re: help with irc [message #289001 is a reply to message #288933] Sun, 07 October 2007 23:25 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Or give the person the pass to the chan if you registered it and they can just get it theirself

/cs identify <Channel> <Pass>

and use chanserv for the other ops ie. op,voice,ao,halfop etc...


[Updated on: Sun, 07 October 2007 23:28]

Report message to a moderator

Re: help with irc [message #289730 is a reply to message #288933] Wed, 10 October 2007 17:34 Go to previous message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
hi this is what i was looking for lol i found it incase any of you want it and are intrested this is it.

on *:Load: {
set %modchan $?="State your channel for the modlist:"
echo -a Modlist now applys to %modchan
if ($?!="Turn reverse rawmodes for modlist on?") {
set %reverseraw 1
echo -a reverse rawmodes on
}
else {
unset %reverseraw
echo -a reverse rawmodes off
}
}

on *:Unload: {
unset %modchan
unset %reverseraw
}

menu status,channel {
-
Modlist
.Change modlist channel {
set %modchan $?="State your channel for the modlist:"
echo -a Modlist now applys to %modchan
}
.Reverse rawmodes on/off {
if ($?!="Turn reverse rawmodes for modlist on?") {
set %reverseraw 1
echo -a reverse rawmodes on
}
else {
unset %reverseraw
echo -a reverse rawmodes off
}
}
-
}

on *:TEXT:*:%modchan: {
if ($1 == !amod) && ($3) && ($left($nick(#,$me).pnick,1) == ~) {
writeini modlist.ini modlist $2 $3
msg # 12 $2 is added to the modlist as: + $+ $3
}
if ($1 == !dmod) && ($2) && ($left($nick(#,$me).pnick,1) == ~) {
remini modlist.ini modlist $2
msg # 4 $2 has been removed from the modlist
}
elseif ($1 == !amod || $1 == !dmod) && ($left($nick(#,$me).pnick,1) != ~) {
.notice $nick you dont have access to use this command
}
if ($1 == !modlist) && ($nick !isop #) { .notice $nick you dont have access to use this command }
elseif ($1 == !modlist) && ($nick isop #) {
var %line 2
while ($read(modlist.ini, %line)) {
if (q isin $gettok($read(modlist.ini, %line),2,61)) && ($gettok($read(modlist.ini, %line),1,61) !isin %qnicks) {
var %qnicks $addtok(%qnicks,$chr(32) $gettok($read(modlist.ini, %line),1,61),44)
}
inc %line
}
var %line 2
while ($read(modlist.ini, %line)) {
if (a isin $gettok($read(modlist.ini, %line),2,61)) && ($gettok($read(modlist.ini, %line),1,61) !isin %qnicks %anicks) {
var %anicks $addtok(%anicks,$chr(32) $gettok($read(modlist.ini, %line),1,61),44)
}
inc %line
}
var %line 2
while ($read(modlist.ini, %line)) {
if (o isin $gettok($read(modlist.ini, %line),2,61)) && ($gettok($read(modlist.ini, %line),1,61) !isin %qnicks %anicks %onicks) {
var %onicks $addtok(%onicks,$chr(32) $gettok($read(modlist.ini, %line),1,61),44)
}
inc %line
}
var %line 2
while ($read(modlist.ini, %line)) {
if (h isin $gettok($read(modlist.ini, %line),2,61)) && ($gettok($read(modlist.ini, %line),1,61) !isin %qnicks %anicks %onicks %hnicks) {
var %hnicks $addtok(%hnicks,$chr(32) $gettok($read(modlist.ini, %line),1,61),44)
}
inc %line
}
var %line 2
while ($read(modlist.ini, %line)) {
if (v isin $gettok($read(modlist.ini, %line),2,61)) && ($gettok($read(modlist.ini, %line),1,61) !isin %qnicks %anicksn %onicks %hnicks %vnicks) {
var %vnicks $addtok(%vnicks,$chr(32) $gettok($read(modlist.ini, %line),1,61),44)
}
inc %line
}
msg # 4~Owners: %qnicks
msg # 7&Admins: %anicks
msg # 8@Ops: %onicks
msg # 9 $+ $chr(37) $+ Half-ops: %hnicks
msg # 13+Voice: %vnicks
}
}

on *:JOIN:%modchan:{
if ($readini(modlist.ini,n,modlist,$nick)) {
set -e %checkmod 1
who $nick
}
}

raw 352:*:{
if (%checkmod) {
$iif(r !isincs $7, msg %modchan $6 $+ $chr(44) register with nickserv and hop to get your + $+ $readini(modlist.ini,n,modlist,$6), mode %modchan + $+ $readini(modlist.ini,n,modlist,$6) $str($chr(32) $6,$len($readini(modlist.ini,n,modlist,$6))))
unset %checkmod
}
}

on !*:RAWMODE:%modchan:{
if ($left($nick(#,$nick).pnick,1) != ~) && ($nick != Chanserv) && (%reverseraw) {
var %rawl 1
var %rawlen $len($1)
while ($mid($1,%rawl,1)) && (%rawlen > 0) {
if ($mid($1,%rawl,1) == +) || ($mid($1,%rawl,1) == -) { var %rawmodesdone $addtok(%rawmodesdone,$replacex($mid($1,%rawl,1),+,-,-,+),0) }

while ($mid($1,%rawl,1)) && ($mid($1,%rawl,1) != +) && ($mid($1,%rawl,1) != -) {
if ($calc($count($1,$mid($1,%rawl,1))/2) != $round($count($1,$mid($1,- $+ %rawl,1))/2),0)) && ($mid($1,%rawl,1) !isin %rawmodesdone) {
var %rawmodesdone $addtok(%rawmodesdone,$mid($1,%rawl,1),0)
inc %rawl
dec %rawlen
}
}
inc %rawl
dec %rawlen
}
if %rawmodesdone { mode # %rawmodesdone $2- }
}
}


It goes into your bots remoteds and u type !amod <nick> <level> like !add EKT-Dean qaohv and that would make them +q. but the bot must be +q in the channel for it to work.
Previous Topic: Renegade 2007: I want you!
Next Topic: my first mod.common try it!!
Goto Forum:
  


Current Time: Tue Dec 17 22:34:29 MST 2024

Total time taken to generate the page: 0.00685 seconds