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.

Big Script Small bug

Old posts that have not been replied to for several years.
Locked
R
Rav^4u
Voice
Posts: 19
Joined: Thu Jun 05, 2003 1:16 pm

Big Script Small bug

Post by Rav^4u »

Hello chaps..

I have been working on some errors in the script below, most now are solved except for 2 (small problems)

1. When the rcon command are issued the rcon is left open (I have tried close rcon but it does not work)

2. (Main one) If people type !addme to be entered into the list of players, it works fine and they get a pm when the required number of players has been reached. BUT if their nick contains [ or ] they dont get a PM (and admin cannot login either). / is added to their name.

Any help on this would be appreciated.. Thanks

Download script here
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

in this topic (TCL faq forum).
stdragon mentioned something like that, but its about the target nick not the nick itself.

but anyway try it like this:
replace
set nick [pwf_charfilter $nick]
with
set nick [pwf_charfilter [lindex [split $nick] 0]]
to solve the nick problem.
R
Rav^4u
Voice
Posts: 19
Joined: Thu Jun 05, 2003 1:16 pm

Post by Rav^4u »

Cheers mate..

Didnt work at first, i removed the pwf_charfilter and its brackets and all is fine :D ty very much indeed.

Any ideas on the rcon part.. its just leaving defunct procesess
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I don't have lot of experiance in rcon, sorry.
R
Rav^4u
Voice
Posts: 19
Joined: Thu Jun 05, 2003 1:16 pm

Post by Rav^4u »

No problem at all , Ill carry on experimenting :D
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

well i can suggest that u see other scripts with rcon and compare it to yours to see how they do it.
Locked