Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Mex

Pages: [1]
1
mIRC/pawn Scripting / Are Addban / Subnetban possible?
« on: August 26, 2007, 03:41:15 am »
Hey,
Does anyone know if its possible to create a addban or subnetban command?

The alias "vcmp.ban" will send the Player ID to the DLL file, not the IP.

I tried sending the IP to the DLL, using "vcmp.ban $vcmp.ip($vcmp.name(%a))"
But it didnt work :(

"vcmp.unban" sends the IP to the DLL and works fine.

So does anyone know if its possible with the current DLL?

2
mIRC/pawn Scripting / Getting The Player Skin
« on: August 18, 2007, 03:03:33 pm »
Ok I need to get the players skin, for a !skin command and other reasons

So I thought, simple..

on *:SIGNAL:vcmp.spawn:{
  vcmp.say $vcmp.name(%id) Spawned As A ' $+ $readini(SkinLocations.ini,Skins,$vcmp.location(%id)) $+ '.
}

Obviously the ini would contain skin spawns locations and their names..
like:
[Skins]
Location=SkinName

So I tested it, but the problem was it was reading the location too early :\
only a few miliseconds, but enough to read the wrong location..

So I thought ok ill do area instead of location.

This time I had the same problem with it reading the area to early.

So I tried a timer:
.timerspawn 1 1 vcmp.say $vcmp.area(%id)
also
.timerspawn 1 20 vcmp.say $vcmp.area(%id)

I found out it reads the area at the start of the timer.. then says the area at the time specified.

Which is useless as I need it to read the area after the specified time.

If anyone can help me with this I would really apreciate it,

Thanks,
Mex.

Pages: [1]