IceChat Forums

IceChat 7 => IceChat 7 Scripts => Topic started by: TheCellist42 on February 20, 2008, 09:06:32 PM

Title: !topic
Post by: TheCellist42 on February 20, 2008, 09:06:32 PM
Is There A Script That Can Enable Someone To Type !topic "Topic Goes Here," Which Will Then Trigger The "Bot" To Change The Topic To Whatever The User Typed?

-TheCellist42
Title: Re: !topic
Post by: Snerf on February 20, 2008, 10:21:24 PM
on 1:TEXT:!topic:#:topic $chan $message

You should now see a pattern now, to see how things are done.
Reading the online help would greatly benefit you as well.
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 02:23:13 PM
Sorry, I couldnt find it, Thought it was an alias.... :cry:
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 02:26:33 PM
Didnt Work...
Title: Re: !topic
Post by: Snerf on February 21, 2008, 04:02:26 PM
Ah, sorry, I se my mistake.

on 1:TEXT:!topic*:#:topic $chan $message

Forgot the * after !topic , otherwise it only checks for "!topic" exactly  :mrgreen:
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 04:12:23 PM
Every time I use the script, It also includes the !topic part in the topic...what did I do wrong?? :?
Title: Re: !topic
Post by: Snerf on February 21, 2008, 04:34:09 PM
Well, thats just goofy. Give this a try then.

on 1:TEXT:!topic*:#:topic $chan $2-
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 04:57:21 PM
Is Still Includes "!topic" In The Topic
Title: Re: !topic
Post by: Snerf on February 21, 2008, 07:02:35 PM
Well, that makes no sense at all, must be some kind of a bug.
Will see what is up with that.
Title: Re: !topic
Post by: Snerf on February 21, 2008, 07:14:34 PM
Ok, this is now a confirmed bug, and has been fixed, and will be in 7.63 when it is released.

If you would like to try out the new build before hand, just ask for it in the #icechat support channel.

Thanks
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 07:16:59 PM
What Network / Server?
Title: Re: !topic
Post by: Snerf on February 21, 2008, 07:18:43 PM
Wow, I am surprised people don't know where that is, its posted all over the place.

Go to the Help Menu in IceChat, Online Help and then IceChat Support Channel.

The final one would be:

on 1:TEXT:!topic*:#:topic $chan $2-
Title: Re: !topic
Post by: TheCellist42 on February 21, 2008, 07:34:11 PM
Does This Script Only Work On Certain IRC Networks?
Title: Re: !topic
Post by: Snerf on February 21, 2008, 07:47:03 PM
No, of course not. If you are still having some problems, give this a try.
It changes the channel wildcard from # to *, as it could cause some problems.

on 1:TEXT:!topic*:*:topic $chan $2-

The best thing to do is usually just place the actual channel name in there, where you want it to work.

on 1:TEXT:!topic*:#mychannel:topic $chan $2-