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.

!cmd pulled from txt file with timers

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

cache wrote:
Sir_Fz wrote:The problem is probably with your text file.
me: !whatever "Test"
bot: says whatever to Test

me: !whatever Test"
bot: says whatever to Test"

I see it works if you use " " two rather than one, was hoping to strip on the accidental typo of one " that always gets me by the enter key lol
The script outputs a line from a text file when you type !whatever and the same if you type "!whatever test ...." the arguments you add after !whatever are never displayed in the output text (at least using the script I've written above). So if you have a modified version of the script, please paste it.
Post Reply