. : News : . . : Message of the Week : .
You are currently viewing an archive of the Wilderness Guardians clan's IPB1 forums.

These forums were used by WG from 2008 to 2011, and now exist for historical and achival purposes only.

For the clan's current forums, CLICK HERE.
"You are a Wilderness Guardian. That northern wasteland; that land of blood, desolation and death is your dominion. Tonight we are going home."
~His Lordship
War Alert: OFF Raid Alert: OFF
PM a WG Official
 mIRC SCRIPTS Guide
Posted: July 10, 2008 12:09 pmTop
   


IRC Nickname:
Group: Guests
Posts:
Member No.: 0
Joined: January 1, 1970
Total Events Attended: 1
okay, so earlier Mr. Spanthrax asked me about a script i had, so i gave it to him and showed him how to use it.

What i am going to show here is mainly how to ADD scripts to mIRC and maybe some basic commands.

If there is something a little off or i missed something out, just leave a comment and i will edit it in

okay so first off, i am using a MODIFIED version of mIRC called NoNameScript (NNS).

i will highlight the things you need to remember!


Adding Scripts:
user posted image

1. Aliases
user posted image

Creating an Alias

okay so i will write how to create an alias.

What is an Alias? well, in my eyes it is a quick command to do something. you type something short, it will perform a longer string of command(s).

how do i create an Alias? well this is the simple part, i will show you one of my "hug" Aliases

CODE

hug {
 inc %hug
/me lovingly hugs  $1- <3 --Hugs Given: %hug }


Wtf does this mean? okay lets start at the beginning "hug" is what you type to activate the script when writing it you dont really need to add the / on the activating text.

next the { and } signify the start and end of a string of commands.

the "inc %hug" part makes it so wherever you put %hug in the main part of the script it will show a NUMBER, every time you use the script, it will add 1 onto the number this is called a Variable aka "Var" you can use whatever you want (%hugcount %huggles %bleh %cheese) they will all work the same.

now im sure we all know what /me does. but in this case its part of the string of commands. so when i type /hug i will get
QUOTE

[12:30:35] • Trivium236 lovingly hugs <3 --Hugs Given: 13


inside the script i have "$1-" that means i can type /hug WG and it will come out with "WG" where the "$1-" is.

you can have $1 $2 $3 etc. they will copy the first, second, third words in your sentence, now what does t he "-" do? basically if you use "$1-" it will copy all words after your "/hug".

you can do ALOT with alias's, so have some fun and experiment with them hash.png









1. Remotes
user posted image

Creating Remotes

What is a Remote? NO not the kind you use for your TV or Stereo! although they all have a similar use. they all CONTROL.

SOME ways to use Remotes:
Connect
Join
Dialogs

i think i will do a basic script for Remotes.

CODE

on :CONNECT:{
/ns id mypass
/join #wg_lobby
/mode Trivium236 +p
}


all this will do is, when you connect to a server, it will do the commands in the list.
there are different things you can add onto it, but i dont really know how Remotes work confused.gif
well anyway, i learned most things i know by trial and error and using the swiftirc Forum.

3. Add-ons from people

Mark (Aardvard39)
QUOTE

And to add about Remotes, Remotes are where some very complicated scripting go like away systems and autojoins an autojoin will join you to diff servers and also to all channels on start up also an auto join will auto id you and also like if there are passes to some channels they can message the bot for you to get you in etc. Others are like farming scripts that you can type in what ever you plant and it will time it for you then notice you when its grown tongue.gif Some of these remote scripts are huge reaching way over 200+ lines. Where as others are more simple like my auto invite to #wg which is this biggrin.gif

on *:JOIN:#wg_lobby: { if ($nick = $me) { msg hash.png !invite | join #wg } }




REMEMBER TO GO BY THE WG RULES, SOME TYPES OF SCRIPTS ARE NOT ALLOWED



4. Good Threads To Use

Beginners:
Gather ideas to start you off:
http://forum.swiftirc.net/viewtopic.php?t=8578

In depth Beginners Guide to Scripting:
http://forum.swiftirc.net/viewtopic.php?t=60

Another Beginners Guide:
http://forum.swiftirc.net/viewtopic.php?t=6492



Anyone Else::

Dialogs wub.gif :
http://forum.swiftirc.net/viewtopic.php?t=7469

Regex:
http://forum.swiftirc.net/viewtopic.php?t=1250

Sockets:
http://forum.swiftirc.net/viewtopic.php?t=4378

Tokens:
http://forum.swiftirc.net/viewtopic.php?t=17384




 
--------------------

Posted: July 10, 2008 04:22 pmTop
   
User Avatar

IRC Nickname: Trolls trolling trolls trolling trolls
Group: Banned
Posts: 2956
Member No.: 422
Joined: April 4, 2008
Total Events Attended: 130
Nice guide, Triv wub.gif
 
--------------------
Mugger84
Member Of WG Since 4th April 2008.
WG Raid Leader Since 20th June 2008.
WG Council Since 20th November 2008.
Banned from WG Since 6th March 2009.
DF IG Since 6th March 2009.
DF FA Since 15th March 2009.
Ex-Member Of WG Since 26th March 2009.
Member of DF Since 6th April 2009.
Clan Friend of WG Since 4th June 2009.
---
||Ex-WG Warlord || Current Member of DF || Ex-Rampage Leader ||
user posted image

Posted: July 10, 2008 04:27 pmTop
   
User Avatar

IRC Nickname: Mickey
Group: Emeritus
Posts: 5305
Member No.: 48
Joined: December 30, 2007
Total Events Attended: 282
Ohh, nice guide for begginers. I'm not so much a good scripter but I can script some stuff.
 
--------------------
user posted image
user posted image
user posted image

Posted: July 10, 2008 04:52 pmTop
   
User Avatar

IRC Nickname: Ty
Group: Ex-Member
Posts: 369
Member No.: 93
Joined: January 3, 2008
Total Events Attended: 34
Good guide biggrin.gif
 
--------------------

user posted image

user posted image

user posted image

Posted: July 10, 2008 09:47 pmTop
   
User Avatar

IRC Nickname: Hyperion
Group: Ex-Member
Posts: 1636
Member No.: 978
Joined: June 23, 2008
Total Events Attended: 141
not bad, people can ask me pretty much anything about scripts, as i have coded a full bot similar to runescript, but have decided not to launch it b/c i can't get it up 24/7

on a similar note, i'm creating a RPG game join #runepg to test it out (not fully complete)
 
--------------------
user posted image
user posted image
user posted image
Dragon boots:29 Whips:2

Posted: July 10, 2008 11:07 pmTop
   
User Avatar

IRC Nickname: Aardvark
Group: Banned
Posts: 759
Member No.: 322
Joined: March 13, 2008
Total Events Attended: 175
Nice guide Triv tongue.gif I use /say for aliases works the same i guess biggrin.gif And to add about Remotes, Remotes are where some very complicated scripting go like away systems and autojoins an autojoin will join you to diff servers and also to all channels on start up also an auto join will auto id you and also like if there are passes to some channels they can message the bot for you to get you in etc. Others are like farming scripts that you can type in what ever you plant and it will time it for you then notice you when its grown tongue.gif Some of these remote scripts are huge reaching way over 200+ lines. Where as others are more simple like my auto invite to #wg which is this biggrin.gif

on *:JOIN:#wg_lobby: { if ($nick = $me) { msg hash.png !invite | join #wg } }
and that smilie is a number sign wink.gif
 
--------------------
user posted imageuser posted imageuser posted image

Posted: July 12, 2008 08:43 pmTop
   


IRC Nickname:
Group: Banned
Posts: 2447
Member No.: 114
Joined: January 8, 2008
Total Events Attended: 149
Maybe I might try... happy.gif Instead of bugging others to make super simple ones for me, lol
 
--------------------

Posted: January 23, 2009 11:52 amTop
   
User Avatar

IRC Nickname: Ansatsublade
Group: Emeritus
Posts: 765
Member No.: 101
Joined: January 3, 2008
Total Events Attended: 120
oh nice done Triv! I was looking for something like this. thankies biggrin.gif
 
--------------------
user posted image

Posted: February 12, 2009 04:13 amTop
   
User Avatar

IRC Nickname: Croak
Group: Clan Friend
Posts: 104
Member No.: 1667
Joined: January 27, 2009
Total Events Attended: 13
I use to have some bad A scripts before computer crashed and lost everything. sad.gif

Me and Bongo, and blair and remy way back in the day use to ban evade all the time. Lol good o days, IRCops couldn't keep us banned.

tongue.gif
 
--------------------
RIP: Lt. Stuart J. Alexander of the
Corpus Christi Police. EOW: 3/10/2009
user posted image user posted imageuser posted image





I am a Volunteer Firefighter, and am also a Police Explorer.
Going to become a police officer soon, and work my way up to a detective.
:)
user posted image
user posted image