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.
Old posts that have not been replied to for several years.
I
Incubus
Post
by Incubus » Mon Dec 17, 2001 12:35 pm
how can i test if "string1" is included in "string2"?
how can i give more lines out to an irc channel?
thx 4 help
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 17, 2001 12:44 pm
First question, use the "string match" command
EG
string match "*test*" "Is it in this test string"
Second question.
Isn't that pretty simple. Use multiple lines of puthelp, to output tot he server.
I
Incubus
Post
by Incubus » Mon Dec 17, 2001 12:53 pm
when i use this:
puthelp "PRIVMSG $chan :An line added by you where do you want."
puthelp "PRIVMSG $chan :An other line added by you where do you want."
than by bots says
TCL error [join:greet]: extra characters after close-quote
what do i wrong?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 17, 2001 12:58 pm
You would have to paste the exact line you are using, else the problem can't be seen.
If they are the exact lines, then this is not the problem, it is in another part of the script.
It is missing a " somwhere.
I
Incubus
Post
by Incubus » Mon Dec 17, 2001 1:24 pm
now it works.
i put a " in the text which i want to send
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 17, 2001 10:44 pm
it is possible to include "'s in the text you want to send, you just have to excape the chars.
Eg " ( then " - incase the forum hates it)