This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

bot 2 perform svsnick on a given command

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

bot 2 perform svsnick on a given command

Post by NTHosts »

Hello again :D

Was just wondering if there is a script out there, or if anyone could write it, i'm sure it would only be a small one :D

Anyway, enough rambling...
What i need is a script that when i give a certain command, lets just say, !nick <oldnick> <newnick> it will change 1 of my channels users nicks to what ever i state in <newnick>.

Also is there a script that when i give a command, i.e !join <nick> it will force join <nick> 2 a certain chan ??

Any help would be great, thanks in advance

:D:D:D:D:D
www.NT-Hosts.Net - More than just a host
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

you want your bot to react to a public command which is only checked against a hostmark to trigger an opper command? are you sure you REALLY want to do this with a eggdrop script and not rather with an alias on your client? ^-^
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

lol

Post by NTHosts »

Yup im quiet sure, any ideas ?!?!? :D:D:D:D
www.NT-Hosts.Net - More than just a host
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

From a personal opinion, this one goes into the very lame department. I cannot see any point in using an eggdrop to perform what are two very basic (and lame on some networks) IRCop commands. De Kus mentioned client aliases, I suggest that is a better option.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

erm...

Post by NTHosts »

before calling me lame you might ask what i want it for,
I run an online radio station and need 2 change the current dj's nick 2 show that he/she is onair, and as i cant be there all the time 2 do it myself i need my bot 2 do it for me..
See.. not so lame after all eh ?!?!?
www.NT-Hosts.Net - More than just a host
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

not so lame after all eh ?!?!?
A matter of opinion. :P

You still have to be online to trigger this command or do you expect the bot to be able to perform this function at set times?

It's beginning to sound like you actually want something more than you originally requested; not so simple!

If you need to be online then I reiterate my original suggestion regarding setting up aliases in your IRC client.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

nope

Post by NTHosts »

I have a script that will trigger a command at set times which i have configured 2 work with my shoutcast script, im just a bit stuck as 2 how 2 get my bot 2 use oper commands on demand.

:P
www.NT-Hosts.Net - More than just a host
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

well, in case the command is used like '/svsnick oldnick newnick' you will need to use 'puthelp "svsnick oldnick newnick"' as example.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

!Tagme

Post by NTHosts »

any chance someone could write this for me please...

I need my dj's to be able to type !tagme and the bot 2 change their nick to show that he/she is on air.

this is the command it would have to do:

/msg operserv svsnick %nick %nick|On-Air

however, before it can do this it needs to be a superadmin, so i need it to respond to !Superyou then send the command:

/msg operserv set superadmin on

Thanks in advance :D
www.NT-Hosts.Net - More than just a host
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

ok...

Post by NTHosts »

ok..

I have the superadmin bit sorted, now what about this !gettag command, tried 2 do it with lots of auto-responders but not havin none of it, any help asap would be great, thank you :)
www.NT-Hosts.Net - More than just a host
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

erm..

Post by NTHosts »

sorry let me explain once again...

I need my bot to perform /msg operserv svsnick %nick %nick|On-Air - when someone uses !Tagme, obviously with %nick being the old nick of the user who requests it & %nick|On-Air it being what is changed too

Thanks
www.NT-Hosts.Net - More than just a host
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

De Kus wrote:well, in case the command is used like '/svsnick oldnick newnick' you will need to use 'puthelp "svsnick oldnick newnick"' as example.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

hummm

Post by NTHosts »

but the command is not used as /svsnick oldnick newnick.
You seem 2 be missing my point :(
www.NT-Hosts.Net - More than just a host
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Well, then you should use:

Code: Select all

putquick "PRIVMSG operserv :svsnick $::nick $::nickOnAir 
Before this you need to define variables nick and nickOnAir:

set nick "something"
set nickOnAir "bla"
N
NTHosts
Op
Posts: 100
Joined: Mon Oct 10, 2005 9:57 pm
Location: UK
Contact:

wewt !

Post by NTHosts »

THANK YOU VERY MUCH !
www.NT-Hosts.Net - More than just a host
Post Reply