Vice City Multiplayer

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

Title: !say %name xD
Post by: Nemesis2500 on July 08, 2008, 02: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, 03: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, 03: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, 04: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, 06: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, 07: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, 08:12:16 pm
thanks to all  :D
Title: Re: !say %name xD
Post by: TanaX01 on July 09, 2008, 04: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, 02:13:50 pm
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, 02: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...

Code: [Select]
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, 08:41:19 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...

Code: [Select]
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, 08:27:24 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...

Code: [Select]
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.