free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: Argonath RPG Official Clan: Svensson - Est. 2007 by Mr. Goobii
[Yesterday at 03:12:11 pm]


Re: The Soprano Family | Royal Loyalty by Dean.
[August 03, 2025, 11:23:58 pm]


Re: Rest in peace by Dean.
[August 03, 2025, 11:23:30 pm]


Re: Stopping by by Dean.
[August 03, 2025, 11:22:35 pm]


Re: ordinary day in VCMP by Denlow
[July 28, 2025, 04:58:56 pm]


Re: The Soprano Family | Royal Loyalty by .Mario.
[July 26, 2025, 03:05:43 pm]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by FrankCivello
[July 17, 2025, 12:50:43 am]


NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]

* Who's Online

  • Dot Guests: 386
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

August 2025
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 [21] 22 23
24 25 26 27 28 29 30
31

mIRC Scripting for MTA:VC

Guest · 2803

0 Members and 12 Guests are viewing this topic.

Hawk

  • Guest
on: February 28, 2008, 10:06:15 am
Hey I want to learn mIRC Scripting for Multi Theft Auto Vice City !
I m ready to pay Argonath MTA:VC Dollars for learning mIRC Scripting !

Anyone ready to teach me ?  :bow:



Offline Watti

  • King of HMAS Cerberus
  • Veteran
  • ***
    • Posts: 3315
    With us since: 13/09/2006
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: February 28, 2008, 10:08:13 am
no one can teach you :)

www.mtascripting.co.nr

If We Make Peace of Resolution Impossible, War of Revolution Will be Inevitable


Offline Iceboy

  • ArgonathRPG
  • Regular
  • **
    • Posts: 961
    With us since: 13/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Game Signature
Reply #2 on: February 28, 2008, 10:20:26 am
lol, just practice man.

try loading this:


on *:SIGNAL:mta.command:{
  if ($3 == !chezor) {
    mta.say $1 My name is Chezor.
  }
}



Hawk

  • Guest
Reply #3 on: February 28, 2008, 10:25:47 am
i already know that  :conf:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #4 on: February 28, 2008, 04:18:47 pm
Theres several sections in mIRC scripting, which bit do you want to learn?



Hawk

  • Guest
Reply #5 on: February 28, 2008, 04:39:08 pm
um.. making a jobscript, money script, for vice city.. !  :rules:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #6 on: February 28, 2008, 04:52:08 pm
You need to understand how you want it to work first, then we can help you with the mIRC scripting part.



Hawk

  • Guest
Reply #7 on: February 28, 2008, 05:09:05 pm
mex u just come on msn man...

[MS]Chezor: !status mex
PM from Admin: Mex status: out game  :neutral:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #8 on: February 28, 2008, 05:14:35 pm
I am on msn :roll:
But i'd rather help you here so others can benefit from it too.



Hawk

  • Guest
Reply #9 on: February 28, 2008, 05:25:13 pm
good idea ! lol

I want to have a script like this :

Bank script : !deposit / !withdraw
Car buying/selling script :
Places buying/selling script :
Money Earning script : Taking car from 1 place to other place in the given time, Earning cash by cop work, etc.

Admin Commands : Same as Argonath admin commands.

Scripts i got : !kill, !slap, !clock, !sun/fog/rain, !info, !status, !in/out, etc..



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #10 on: February 28, 2008, 05:34:33 pm
Ah so basically you want the Argonath script:)
Well you know no-one can give that to you, but we can help you script.

When I said "you need to understand how it will work first", i mean't you should plan exactly how each command will work.
For example, for !money you would want it to tell you how much money you have ofcourse, but you need to think how you want to store players money.  One way to do this is to use INI files.  Then when you want to retrieve the player's money, you can just read that INI file.

You should atleast try to make those commands yourself first, then we can help you with problems.
As you can't really expect others to make those commands for you.

The mIRC manual (in your mirc folder) contains alot of helpful information, you should use it whenever you get stuck.
Also scripting.html included with MTA:mA contains alot of helpful information on the MTA side of scripting.



Hawk

  • Guest
Reply #11 on: February 28, 2008, 05:36:08 pm
ok i ll try  :razz:



Hawk

  • Guest
Reply #12 on: February 28, 2008, 05:39:09 pm
Quote
As you can't really expect others to make those commands for you.
hey when i said i want it from others ?

Hey I want to learn mIRC Scripting for Multi Theft Auto Vice City !
I m ready to pay Argonath MTA:VC Dollars for learning mIRC Scripting !

Anyone ready to teach me ?  :bow:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #13 on: February 28, 2008, 05:52:45 pm
There's alot too mirc scripting, so I asked you which section you wanted to learn ;)
But I'll start off by explaining a couple of commonly used symbols:

%
The percent sign represnts a variable when it is the far left character of a word.
Variables are great to store values in temporarily or pernamently.
And you can then retrieve that value at a later time.

$
The 'dollar' sign represnts an identifier when it is the far left character of a word.
This means mirc will replace the 'identifier word' with the value it contains.
There a several identifiers built into mirc, such as $time. (They are all in the mirc manual).
When you use $time, mirc will replace all those 5 characters with the actual time (based on your computer time)
It is also possible to create your own identifers using alias's, but that might seem confusing at first.



Hawk

  • Guest
Reply #14 on: February 28, 2008, 06:04:15 pm
I know is the following : ( from the guy named scooby on some site ! )

$1 = Server
$2 = PlayerID
$3 = the first word u type
$4 = the second word u type
$5 = the 3rd word u type... and so on

but in this script :

on *:SIGNAL:mta.command:{

  var %a = $iif($4 == $null,$2,$mta.getid($1,$4))

  if ($3 == !hp) {
    if (%a == -1) mta.msg $1 $2 Error: Invalid Name/ID.
    elseif ($4 == $null) mta.msg $1 $2 Your Health is at $mta.health($1,$2) $+ %
    else mta.msg $1 $2 $mta.name($1,%a) $+ s health is at $mta.health($1,%a) $+ %
  }


when i go ingame and type !hp it says disabled :/



 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal