PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: NemeziS on 17 September, 2004, 13:13:10

Title: gag messages.
Post by: NemeziS on 17 September, 2004, 13:13:10
Hello,
Who can help me with gag/ungag message?
I wanted:

If user gagged and he tries to post his message in main\PM he will get a message from bot

[19:18:26] You are gagged. You can't write any thing now.

When user in unggaged he will get a message:

[19:18:26] You are ungagged. You can write anything you want since that time.

I'm using PtokaX DC Hub 0.3.3.0 build 15.25 [debug] and I saw a bug in it.
If user is gagged he can't write anything in first time. But when he reconnects to a hub he can write anything he want (nobody has ungagged him at all!!).

Help me please with that. It's very important function for me! =)
Title:
Post by: [UK]Madman on 17 September, 2004, 13:39:03
If your already using a gag script, could you post it so it can be edited please.

The bug isnt with the hub, but the script is removing the gag when the user disconnects, so when they re-connects they are no longer gagged.
Title:
Post by: NemeziS on 17 September, 2004, 13:46:03
There are no gag scripts at all in my scripts folder.
I've just tested it. I removed all my scripts from scripts folder and tested the hub. gag function still not work correctly. =((
Title:
Post by: [UK]Madman on 17 September, 2004, 13:56:06
Just searched and found this script by the wonderful Nerbos  :))

http://board.univ-angers.fr/thread.php?threadid=2600&boardid=13&sid=f08250de173bcbf3821783a23ca6b5bb (http://board.univ-angers.fr/thread.php?threadid=2600&boardid=13&sid=f08250de173bcbf3821783a23ca6b5bb)
Title:
Post by: NemeziS on 17 September, 2004, 14:30:34
Thanx! I'll try it now. Nerbos is a great scripter!!