• Welcome to Vice City Multiplayer.
 

!say %name xD

Started by Nemesis2500, July 08, 2008, 01:18:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nemesis2500

Hello guys
i know that !say %name will pwn your server  :-\ ,is there any way to protect my server from annoying ppl that want to pwn my server  :o


ReVilo

in the !say command add something like,
if ( % isin $2) kick $nick
else {
vcmp.adminchat blah blah blah

I have no clue if that would work, as I'm not a genius at scripting but you can try :P

GTA-Roloboy

I don't think that should work, I think the best way is just remove ALL variables :P

or just +m (mute) the channel and give only people who you can trust +v (voice)

Windlord

The old DLL has that bug.

Try and use VRocker's new and shiny DLL.

WSV currently uses the DLL.

Jack_Bauer

what about something similar to the "swearing thing" if you do !say %name it goes ***** and then kicks/bans the player .



ReVilo

thats what i said in my last post, but i think murdock is right
itll kick the player, but im not so sure it would stop the command from working

Nemesis2500



TanaX01

omg Noob Commands SERVER locked  >:( >:(

and mirc script reset my script funk you commands !say %name

Nemesis2500

Quote from: TanaX01 on July 09, 2008, 03:54:20 AM
omg Noob Commands SERVER locked  >:( >:(

and mirc script reset my script funk you commands !say %name

l00l  ;)


VRocker

What revillo said may work but mirc may thing your giving it an empty variable (similar to when you do a $ on its own.

Try adding this...


on *:TEXT:*:#:{
if ( $chr( 37 ) isin $1- ) {
kick $chan $nick Feck Off! :)
}
}


The $chr will stop mirc parsing as a var.
Oh and as windlord said... i dont think this bug exists in my dll but i cannot confirm as i have not personally tested it.


TanaX01

Quote from: VRocker on July 09, 2008, 01:26:58 PM
What revillo said may work but mirc may thing your giving it an empty variable (similar to when you do a $ on its own.

Try adding this...


on *:TEXT:*:#:{
if ( $chr( 37 ) isin $1- ) {
kick $chan $nick Feck Off! :)
}
}


The $chr will stop mirc parsing as a var.
Oh and as windlord said... i dont think this bug exists in my dll but i cannot confirm as i have not personally tested it.

Thank VRocker  ;)

Nemesis2500

Quote from: VRocker on July 09, 2008, 01:26:58 PM
What revillo said may work but mirc may thing your giving it an empty variable (similar to when you do a $ on its own.

Try adding this...


on *:TEXT:*:#:{
if ( $chr( 37 ) isin $1- ) {
kick $chan $nick Feck Off! :)
}
}


hey vrocker where should i put that???  ???

The $chr will stop mirc parsing as a var.
Oh and as windlord said... i dont think this bug exists in my dll but i cannot confirm as i have not personally tested it.