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.


Messages - [NoN]Toiletduck

Pages: 1 [2] 3 4 5
16
mIRC/pawn Scripting / Re: Please help
« on: February 07, 2009, 10:59:16 pm »
I forgot to thank you guys for the trouble you went to.
So thanks Thijn.
Thanks Windlord.
Thanks Hankock.
Thanks Force.

17
mIRC/pawn Scripting / Re: scripting.
« on: February 07, 2009, 06:32:36 pm »
These are seriously difficult.  Don't get your hopes up.

18
mIRC/pawn Scripting / mIRC vc-mp simple scripting tutorial
« on: January 31, 2009, 05:27:18 pm »
Many people want to know how to write scripts for vc-mp so I wrote a very simple tutorial explaining how to write some commands.
Notice:  There are probably some mistakes, I do not take this seriously, I just thought it could be helpful.
This tutorial is based on GUS scripts written by VRocker and Tommis.




Open your mIRC script editor. (Alt+R)

Okay we will start with a simple command.  A pm will be received that says: "Scripting is easy!" when this command is typed.
Okay so if you study the list of parameters beneath this, you will see that $2 represents: command.

So we start with:

Code: [Select]
}
elseif ($2 == !scripting) {
vcmp.msg %id Scripting is easy!

The parameter %id represents who the message is sent to, in this case it is sent to the player that typed the command.

______________________END OF SECTION_________________________________



Next:


You will need to put a !halt on your cmd in order to stop certain levels from using it.
This next cmd has a !halt and I will give explanations.


Code: [Select]
  }
  elseif (!say == $2) {
    if ($vcmp.cmdcheck(!say,%id) == fail) !halt  --------------  this means that it runs through a cmd check and if you are not a certain level, the command will not execute.
    else {
      vcmp.say $3-
    }


______________________END OF SECTION_________________________________



Syntax/Parameters





VCMP Parameters:

$1 User ID
$2 Command
$3 Word that follows Command
$4 Word that follows the Word after the command
$5 Word that follows the word after the word after the command

also - Continues it, so if i have vcmp.say $3- it means that it will project everything writen after the command instead of only the word after the command.
Like here is an example:



!say would activate a response like this...


      vcmp.say $3-
    }




  Now if it were:



      vcmp.say $3
    }


Then it would only project the word after the cmd.


Like this:   !say toiletduck is a bastard.

With the first option, it would show all the text, with the second, it would say:  Toiletduck


______________________END OF SECTION_________________________________



Okay basic aliases.
By rule of thumb, if anything is used on a regular basis, an alias should be created.

So if you want to learn how to make a simple alias try this:


Code: [Select]
alias vcmp.hello { 
  vcmp.say Hello world!
}







Your command would look like this:

Code: [Select]
  }
  elseif ($2 == !hello) {
  vcmp.hello



That script will connect to the alias and it will activate vcmp.say Hello world!

Most aliases can be placed at the alias title:
;-----------------------------
;------------ADMIN------------
;-----------------------------

I cannot show you which line because it changes every time you add an alias.




______________________END OF SECTION_________________________________


19
XE Servers (Legacy) / Re: WHO LEVEL 1 IN THE XE SERVER
« on: January 31, 2009, 02:09:28 pm »
I'm level 1.

20
Support / Re: I have 2 problems with a starting a server
« on: January 31, 2009, 11:04:37 am »
No you can't.  This has nothing to do with scripts.

21
Support / Re: I have 2 problems with a starting a server
« on: January 29, 2009, 05:31:35 pm »
How is that relevant?

22
Support / Re: buildmode help please
« on: January 25, 2009, 12:37:58 pm »
In 0.3z build mode, you cannot drive cars.  I /v-ed all the cars that I wanted into my server and then I went ingame and saved them in the place that I wanted them to be.

23
Support / Re: I have 2 problems with a starting a server
« on: January 24, 2009, 09:20:20 pm »
Reply to 1.  It will not appear in the master server list unless the correct ports are forwarded and if you have not run announce.exe.  (announce should run automatically but if it doesn't then start it manually)

Reply to 2.  Your friend cannot find your server.  The reason is that your server has not yet been made public.  The ping number for non existent servers is 9999.



*Solutions*
In order to forward the necessary ports, you must type your ip into your browser.
(If you do not know your ip visit: www.whatsmyip.org)
Then login to your router and forward ports 5192 and 5315 it will ask you whether you want to forward TCP or UDP so do both.  If you have any queries please feel free to add me on MSN.
[email protected]

Good luck  ;)

24
Support / Re: Linux CentOS Problem.
« on: January 21, 2009, 10:59:20 pm »
0.3x works with linux but all the servers are done on 0.3z.

25
Support / Re: [Server]Vehicle selector
« on: January 18, 2009, 08:16:36 pm »
I would be happy to help but I do not quite understand you.  Please try to be more clear.

26
Support / Re: Server :P
« on: January 15, 2009, 09:18:06 pm »
https://www.serverffs.com/gameservers/11/VCMP_Server/


Seriously! 2 pounds is nothing for a sever.

27
XE Servers (Legacy) / Re: ATTETIONS HACKER
« on: January 14, 2009, 11:53:12 pm »
Even if his account was hacked, that bastard has deserved to be banned for months.

28
Support / Re: Server :P
« on: January 14, 2009, 07:45:19 pm »
I will admit to you, serverFFS is brilliant and it is not expensive at all. Start with a 15 slot host and see how it goes.

29
mIRC/pawn Scripting / Re: how can i load .mrc files to mirc???
« on: January 14, 2009, 07:28:02 pm »
It's my pleasure.

30
mIRC/pawn Scripting / Re: how can i load .mrc files to mirc???
« on: January 14, 2009, 12:17:35 pm »
Whilst in mIRC go to the bar at the bottom and type the following:
/load -rs scriptname.mrc       - Change "scriptname" to the desired script name.  For example RPG.mrc.
Also, the scripts have to be in application data unless you have changed the required directory.

Pages: 1 [2] 3 4 5