Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Juppi on July 13, 2007, 08:41:28 pm

Title: Personal messages?
Post by: Juppi on July 13, 2007, 08:41:28 pm
How can i make commands in server saying text in personal message (like /msg)? I saw thing like that on one of the 0.3z beta servers. I have tried to use vcmp.pm instead of vcmp.say, but the server didn't say anything. Any ideas?
Title: Re: Personal messages?
Post by: matthiasvegh on July 13, 2007, 09:57:39 pm
nope, but i had a problem like that recently. i found no soloution, however, i did a bilboard instead.
so..
Code: [Select]
elseif !bilboard bla bla bla
write ini bilboard.ini
and then
Code: [Select]
!bilboard vcmp.say readini bilboard.ininow, this is is not a code, just a skeleton, but still leaves a problem, when u write\read from the bilboard, it will be public, therfore, u havent gone anywhere near private.
perhaps...
Code: [Select]
vcmp.say /msg $getid(name) $2??
Title: Re: Personal messages?
Post by: VercettiG on July 13, 2007, 11:06:53 pm
The /msg command isn't related to mIRC scripting as far as I know. It's already there.
Title: Re: Personal messages?
Post by: Juppi on July 13, 2007, 11:12:11 pm
OK, i tried this:
Code: [Select]
vcmp.say /msg %a $2
where %a is player's ID, but only thing the server says is

Quote from: server
/msg %a [text you write]


I think /msg is in VC:MP itself, not in rcon aliases.

EDIT: VG was faster
Title: Re: Personal messages?
Post by: Tommis on July 16, 2007, 07:17:54 am
Hello,

Take a look in the new 0.3z GUS Scripts i just released, almost everything you are looking for is in there, in alias form. As simple as you would need. :)

Cya,
Tommis
Title: Re: Personal messages?
Post by: matthiasvegh on July 17, 2007, 11:48:36 pm
i know /msg is built in vcmp. its just seeing as i (n e 1 really) can pm another player with the inbuilt pm system i was wondering if the irc server is a player or not.

but now im saying this, y do u want a pm? if ur using it for player1 to talk to player 2, just use: /msg player2's id message
and it wont be shown in the public text.
Title: Re: Personal messages?
Post by: Juppi on July 18, 2007, 11:33:50 pm
but now im saying this, y do u want a pm? if ur using it for player1 to talk to player 2, just use: /msg player2's id message
and it wont be shown in the public text.

Yeah, players can use /msg to pm each other. I meant how I could make commands showing info in pm like in 1 of the beta servers and now in XE European server; not everything (e.g. command lists) to everyone

Take a look in the new 0.3z GUS Scripts i just released, almost everything you are looking for is in there, in alias form. As simple as you would need. :)

Thanks for advice ;) I think i found what i wanted
Title: Re: Personal messages?
Post by: Tommis on July 19, 2007, 11:34:22 pm
Hey,

No problem, and just for others to know, in my scripts its

vcmp.msg ID Bbalbalabl Text here Bllbalablab


Cya,
Tommis