I have been gone for some time and have just got around to checking up on things.
Previously posted:
php tcl eggdrop question
After reading my original post, I was still a bit lost.
Sorry i did'nt post any of the code to begin with.
I should have but must have been in a rush.
The below posted php and tcl is the code that works for me.
I just need the bot to respond to non member names with one line - and not
a bunch of blank results.
Example:
goodboy is a member so the result would be:
•5:16PM• <goodboy> !user goodboy
•5:16PM• <bot> Forum User Stats For: goodboy
•5:16PM• <bot> [FxP Team: ind]
•5:16PM• <bot> [Posts: 2015]
•5:16PM• <bot> [Filled: 128]
•5:16PM• <bot> [Hacks: 35]
•5:16PM• <bot> [Scans: 28]
•5:16PM• <bot> [Races: 10]
•5:16PM• <bot> [Mirrors: 69]
•5:16PM• <bot> [Leeched: 5]
•5:16PM• <bot> [Credits: $8852]
If there was no member goodboy the bot shows the same as above - just with no info for username or stats.
•5:16PM• <goodboy> !user goodboy
•5:16PM• <bot> Forum User Stats For:
•5:16PM• <bot> [FxP Team: ]
•5:16PM• <bot> [Posts: ]
•5:16PM• <bot> [Filled: ]
•5:16PM• <bot> [Hacks: ]
•5:16PM• <bot> [Scans: ]
•5:16PM• <bot> [Races: ]
•5:16PM• <bot> [Mirrors: ]
•5:16PM• <bot> [Leeched: ]
•5:16PM• <bot> [Credits: $]
If the username used is not a member i would rather one line be shown:
•5:16PM• <stumpy> !user stumpy
•5:16PM• <bot> Stumpy is not a registerd member.
PHP:
You must first be a
registered member to view any code.
TCL:
You must first be a
registered member to view any code.
Any help would be appreciated.
I would think this is a simple fix as well.
Im just a bit stumped.