• Welcome to Vice City Multiplayer.
 

WSV v0.3 by Windlord and VRocker

Started by Windlord, August 22, 2008, 01:13:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Windlord

________________________________________________________________________________________

                       WorkSheet Scripts based on VRocker's dll v0.3

                                 by Windlord and VRocker

                     - mIRC dll by VRocker, Scripts by Windlord -
________________________________________________________________________________________

   I have only started scripting recently and have heard of many newbie scripters that wanted to use VRocker's brilliant mIRC Admin but could not as they did not or could not script everything from scratch. I have created a basic script to use with VRocker's mIRC dll and would like to share it with everyone in the VC:MP community. Thank you for down loading this script!
                                                                 ----  Windlord  ----
====-------------------------------------------------------------------------------====
Thanks to: Juppi, Murdock, FoRcE, Orpheus, Tamas, RoHiT, rulk, Ry5a, jc18 for testing and helping to debug this script!
====-------------------------------------------------------------------------------====

--< Instructions >--
  1. Extract folder to any directory.
  2. Open mIRC and connect to IRC://irc.gtanet.com
  3. Load the script, "WSV.mrc".
     (ie. If the script is in "C:\mIRC\WSV\WSV.mrc", type "//load -rs C:\mIRC\WSV\WSV.mrc")
  4. Answer the questions as they pop up.
  5. After the start-up procedure, you will be re-directed to your echo channel.
  6. Get scripting! And Enjoy!


--< Some useful/interesting info >--
**  This script was done so that you do not have to open up two mIRC clients for a server like you did before for other released scripts. The text that is typed in by you and those on the channel will automatically be re-directed to the server script, thus enabling you to test the commands that you have created, and control/utilise the script with just one mIRC client.

** Config pickups are automatically detected and are auto-added to your pickups hash ;)

** Dual bot feature is included and it can be turned on/off with !echostatus dual/mono

**  Some popular commands such as !buycar !sharecar !buyprop have already been implemented into WSV v0.1 as nearly all scripters tend to try and add that command into their server.

**  Some of the aliases can be very useful. For example, the $WSV.pickupid($1) tells you the pickup id of a pickup regardless of what you type in.

** A News system is implemented which activates when a player enters an empty server. It'll PM all of the players every few ten seconds.

** Commands are shown depending on the level of the player. New commands should be added to Commands.txt

** As SetCarHealth does not work, !fix has been added. !fix sends your car away and sets it on fire and then returns the car when it re-spawns. This does not always work as some cars burn for a longer amount of time, or does not burn at all.

** Passengers are detected with the vehicle that they get in to.

** Switching your weapon to a minigun gives you an instant ban.

** You can communicate better with IRC. "!onirc" tells you who's on the channel. "!irc on" echoes the channel's chat details to you. "!msg <nick> <message>" lets you pm a person on IRC.

** gotoc and getc are goto and get cmds with cars.

** !Danger finds out the player with the highest ratio for you.


--< Commands >--
[Echo Channel Commands]
  >> By sending a pm to the echo bot/yourself
    !Ghost <nick/id> <password> : Let's you kick a nickname if it is yours.
    !Pm <nick/id> : Let's you PM a player
 
  >> By typing into the channel.
    :: If your text has . in front of the first word, (ie. ".Hi") it will echo into the server.
    !Pm <nick/id> : Lets you PM a player
    !Players !me !echo
    Most in-game commands

[In-game Commands]
    info             script             irc              help
    rules            stat               addnews          comments
    hp               armour             money            bank
    loc              coord              distance         level
    cd               spree              danger           baninfo
    onirc            admins             deposit          withdraw
    mute             unmute             car              getcar
    spawn            fix                buycar           sellcar
    sharecar         delsharecar        mycars           makerace
    race             racers             start            cancelrace
    buyprop          sellprop           shareprop        delshareprop
    heal             myprops            propspawn        gotoprop
    alias            warns              freeze           unfreeze
    kick             ban                login            register
    givemoney        goto               gotoc            sethp
    setwep           irckick            cancelvotekick   votekick
    vote             get                getc             msg
    setlevel         addcar             ap               dp
    ann              annall             addprop          delprop
    setcarprice      resetmoney         resetstats       delaccount

    Added in v0.3  ::   setmon      setweather   settime    sethour    setmin
                        logout      password
    Bonus Commands ::   spawnall    fun     

Force

Great script, the spawnall can be very useful  :P

Windlord

It can be sometimes :P

Check out this to see how spawnall and fun works.

Edit: I had added in skin detection. Skin names can be modified in the variables section of your mIRC scripts editor.

bazza

best script yet, does spawnall work by id / name or both ?

szostol

LW's server script is better :P But althought that WSV is good script.

Windlord

#5
!spawn works both with ID/Name
!spawnall lets you spawn all cars with the keyword you specify.

If you type "!spawnall hotring", All hotrings will be spawned in a line.
If you type "!spawnall o", All cars with the letter 'o' in it will be spawned in a line.
If you just type "!spawnall", All cars will be spawned in a line.

This may sometimes not work due to incomplete loading of the config file.
If such a case happens, please type "/WSV.loadconfigfile" in your mIRC chatbox.
That will load the data again from your config file.

Edit (Dual Bots) :
Some of you may be wondering what the "dual" feature is.
The dual feature lets you use two bots instead of one to reduce echo lag.
If you need to use the dual bot feature, you need to set it first when you start up the script.
If you wish to change to dual while using one bot, you need to go to your 'scripts editor' then to the 'variables tab' then change the variable: %echostatus to "dual"
After restarting your script, another bot will automatically be made.

Dual bot may sometimes not work. The bots may not re-act to what you type in.
The error in this case can be easily solved by resetting your bot variables.
Type "/set %echobot1 <Your Script Bot's Name>"
and "/set %echobot2 <The automatically added bot's name>"

This will ensure that all inputs are redirected to your  bots.

Edit2 (Skin Recognition) :
Skins are recognised.
However the skins' names are not set initially.
When someone spawns with a specific skin once,
A new variable will be made.
Make sure you edit the skin names there.

Cheers

Windlord

bakasan


TanaX01

Omg Windlord Now New Script Cool Nice Aport Friend Windlord  ;)

Windlord


bazza

these are good scripts, he should be on the lw developer's team

StriKe


Windlord

Don't think there is a dev team for LW lol :P

Thanks for all of the compliments :)

bazza

its superb work, i for one have reccomended your scripts to other people.

GOLG

#13
good work windlord, we always look forward to these scripts.

Jkownz

Gj Windlord and im looking forward to next version