Originally Posted By: zad0909
Thanks man. I got another question:
Trying to get it so any ops can invite my bot. The code I got is:
ON @*:INVITE:#:
if ($nick isop $chan) {
/join $chan}
}

It isnt working. Am I doing it wrong.
Also we want a script that will acitivate with a command like !setevent (ops only) [event info etc here]

Then som1 later can say !event and it will say w/e the person inputed before.

Does any1 have any idea on how to do this?


You need a } for every {. You have 2 }. Remove the } in join $chan}.

By the way, in order to know whether someone is op in a channel, you have to be in the channel. That means you needed to know the person was op in the channel he was inviting you before joining it. Understand? I wouldn't even include the if ($nick isop $chan) part..

Last edited by LostShadow; 04/08/07 01:48 AM.