Author Topic: Code help  (Read 2213 times)


You're doing stuff like if($mute[%victim.BLID]) and you haven't even defined %victim, and its BL_ID...

1. In serverCmdMessageSent, change the %victim in the first if statement to %client.
2. In serverCmdUnmute, you tested to see if %victim is actually muted before defining %victim.
3. According to Destiny, change all ".BLID" occourances to ".BL_ID". I haven't looked at how Blockland IDs are stored in awhile, but BL_ID sounds more right.

I did define victim at the top and in the mute command:

%victim = FindClientByname(%user);

But I didn't define it before I checked to see if they were muted or not, So I'll fix that.
« Last Edit: March 22, 2009, 12:19:30 PM by AGlass0fMilk »