Hello
Does anyone know the gametext script, i mean that script when i type "Hello" than all players will be see this message in the center of the screen with example pink color, like the killingspree" message.
This will depend on what script you use.
For VRocker's Admin, it is;
vcmp.announce -
Displays an on-screen message on a players screen
Params: $1 = ServerID, $2 = PlayerID, $3 = Message
Quote from: [SRS]Tomi on July 22, 2008, 11:03:35 PM
Hello
Does anyone know the gametext script, i mean that script when i type "Hello" than all players will be see this message in the center of the screen with example pink color, like the killingspree" message.
Colour is code pink is ~a~ green= ~t~ no more :-\
Iam using Sasan V3 thats why i asked because this script is not containes the "pink message saying" section.
well the actual command is in sansan it is vcmp.gametext and vcmp.gametext.all
what do you want? text to all,pm,from ingame,from irc?
Quote from: Jack_Bauer on July 23, 2008, 12:24:59 AM
well the actual command is in sansan it is vcmp.gametext and vcmp.gametext.all
what do you want? text to all,pm,from ingame,from irc?
HEY JACK HELP MY IN ANNALL IN IRC ;) COME MSN
I want to say to all and pm for someone too.
So if its already containes it how can i do it?
Example if i want to send to all "Hello"
elseif ($2 == !announce) $iif($hget(vcmp,loggedin. $+ %id) < 5,vcmp.adminmsg %id You must be Admin Level 5 or higher to attempt this command.,vcmp.gametext.all $3-)
That would be for level 5 admins,you can change that as you like,that way it would be !announce hello
Thx its work. I rewrited a bit now its look like this:
elseif ($2 == !announce) {
if ($hget(vcmp,loggedin. $+ %id) < 10) { vcmp.adminmsg %id You must be Admin Level 10 or higher to attempt this command. }
else {
vcmp.gametext.all Ad $3
}
}
And how can i send message from IRC to ingame?
I tryed this but thats didnt work:
elseif (($1 == !announce) || ($1 == !ann)) vcmp.gametext.all < $+ $nick $+ > $2-
Try this one
elseif (($1 == !announce) || ($1 == !ann)) vcmp.gametext.all $2-
Quote from: Mattz on July 23, 2008, 06:47:16 PM
Try this one
elseif (($1 == !announce) || ($1 == !ann)) vcmp.gametext.all $2-
in irc ??? ::)
Yep in there it seems its work but...
Quoteelseif (($1 == !say) || ($1 == !chat)) vcmp.adminchat || $+ $nick $+ || $2-
its the say command and if i put another example:
Quoteelseif (($1 == !anothertestsaycommand) || ($1 == !atsc)) vcmp.adminchat || $+ $nick $+ || $2-
its not work only with that one
Quote from: [SRS]Tomi on July 24, 2008, 03:03:07 PM
Yep in there it seems its work but...
Quoteelseif (($1 == !say) || ($1 == !chat)) vcmp.adminchat || $+ $nick $+ || $2-
its the say command and if i put another example:
Quoteelseif (($1 == !anothertestsaycommand) || ($1 == !atsc)) vcmp.adminchat || $+ $nick $+ || $2-
its not work only with that one
That would be because your telling it to do vcmp.adminchat or $+ $nick $+ or $2-. Which of course it can't do, it needs to be:
elseif (($1 == !say) || ($1 == !chat)) {
vcmp.adminchat $nick $2-
}
Thx. Perfect
No problem ;)
Just so you know a || in mirc means or