Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Nemesis2500 on July 08, 2008, 01:18:54 PM

Title: !say %name xD
Post by: Nemesis2500 on July 08, 2008, 01:18:54 PM
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
Title: Re: !say %name xD
Post by: ReVilo on July 08, 2008, 02:37:22 PM
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
Title: Re: !say %name xD
Post by: GTA-Roloboy on July 08, 2008, 02:56:27 PM
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)
Title: Re: !say %name xD
Post by: Windlord on July 08, 2008, 03:58:51 PM
The old DLL has that bug.

Try and use VRocker's new and shiny DLL.

WSV currently uses the DLL.
Title: Re: !say %name xD
Post by: Jack_Bauer on July 08, 2008, 05:43:38 PM
what about something similar to the "swearing thing" if you do !say %name it goes ***** and then kicks/bans the player .
Title: Re: !say %name xD
Post by: ReVilo on July 08, 2008, 06:18:31 PM
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
Title: Re: !say %name xD
Post by: Nemesis2500 on July 08, 2008, 07:12:16 PM
thanks to all  :D
Title: Re: !say %name xD
Post by: 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
Title: Re: !say %name xD
Post by: Nemesis2500 on July 09, 2008, 01:13:50 PM
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  ;)
Title: Re: !say %name xD
Post by: 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.
Title: Re: !say %name xD
Post by: TanaX01 on July 10, 2008, 07:41:19 PM
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  ;)
Title: Re: !say %name xD
Post by: Nemesis2500 on July 13, 2008, 07:27:24 PM
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.