Few Mirc Snippets I Have Scripted

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Others

Few Mirc Snippets I Have Scripted

AlternativeNick
the $maybe alias returns a random parameter given, for instance $maybe(yes,no) could return either yes or no, and $maybe(elephant,cat,dog) could return either elephant, cat, or dog

Reply

tractor
So in other words is $maybe a standard indentifier for mIRC?

Reply

Urza
QUOTE
So in other words is $maybe a standard indentifier for mIRC?


why on earth would he be posting an alias for it if its a standard mirc identifier lol. tongue.gif

Reply

AlternativeNick
here is a remake of standard mirc alias, amsg

CODE

alias amsg {
  var %i = 0,%x = 0
  while (%i < $chan(0)) {
    inc %i
    msg $chan(%i) $1-
  }
  while (%x < $query(0)) {
    inc %x
    msg $query(%x) $1-
  }
}


This will msg all channels as well as all queries for the current connection.

Reply

tractor
QUOTE(Urza @ Oct 4 2006, 11:17 PM) *

why on earth would he be posting an alias for it if its a standard mirc identifier lol. tongue.gif


Hmm because he wants to? tongue.gif


QUOTE(AlternativeNick @ Oct 4 2006, 11:19 PM) *

here is a remake of standard mirc alias, amsg

CODE

alias amsg {
  var %i = 0,%x = 0
  while (%i < $chan(0)) {
    inc %i
    msg $chan(%i) $1-
  }
  while (%x < $query(0)) {
    inc %x
    msg $query(%x) $1-
  }
}


This will msg all channels as well as all queries for the current connection.


So messages all the channels sounds like a normal /amsg whats the dif?

 

 

 


Reply

AlternativeNick
it also messages any open queries smile.gif

Reply

Urza
QUOTE("tractor")
So messages all the channels sounds like a normal /amsg whats the dif?


QUOTE("alternativenick")
This will msg all channels as well as all queries for the current connection.


it messages queries as well.. regular amsg doesnt.

also alt you can use !amsg to use mircs default amsg alias.
so the first loop, for the channels simply becomes:

CODE
!amsg $1-

Reply

tractor
QUOTE(Urza @ Oct 4 2006, 11:30 PM) *

it messages queries as well.. regular amsg doesnt.

also alt you can use !amsg to use mircs default amsg alias.
so the first loop, for the channels simply becomes:

CODE
!amsg $1-


Why would we want !amg is we can have /amsg you guys are confusing. It would help if somone does somthing about those 2 blink.gif

Reply

Urza
the ! prefix on an alias forces it to use the default mirc alias instead of any personally rewritten alias.


/!amsg text from the command line is the same as using the regular mirc alias (ie /amsg text )

Reply

tractor
QUOTE(Urza @ Oct 5 2006, 12:42 AM) *

the ! prefix on an alias forces it to use the default mirc alias instead of any personally rewritten alias.
/!amsg text from the command line is the same as using the regular mirc alias (ie /amsg text )


Explain to me in PM because ! would make it visible to the people in the channel unlike a /bs COMMAND and other things. I will have alt explain.I would just use this tongue.gif

QUOTE
on *:TEXT:!notice:#: if ($nick == Agent|Austin) { amsg $2- }

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. irc backwards text - 1.70 hr back. (1)
  2. irc addons kick three lines - 26.83 hr back. (1)
  3. snippets for mirc - 29.14 hr back. (2)
  4. irc snippet - 46.35 hr back. (1)
  5. mirc snippet - 66.46 hr back. (1)
  6. mirc backward text - 88.61 hr back. (1)
  7. mirc writing backwards script - 111.50 hr back. (1)
  8. how to add snippet to mirc ? - 114.68 hr back. (1)
  9. mirc codes snippets - 125.73 hr back. (1)
  10. irc on text notice - 190.78 hr back. (1)
  11. questions irc snippet - 197.08 hr back. (1)
  12. mirc snippets for colour - 197.67 hr back. (1)
  13. code,snippets mirc - 200.16 hr back. (3)
  14. irc code for kick for three lines - 204.88 hr back. (1)
Similar Topics

Keywords : mirc, snippets, scripted

  1. Need Help With Mirc
    (0)
  2. I Am Looking For Ideas For A Mirc Addon
    I want your ideas (2)
    Well im currently between 2 projects that im scripting and im bored with them haha!! Just
    looking for ideas for something else i can make... Maybe just sumthing little that u want made, i
    will make it for you and release it here. I have a fairly wide range of scripting knowledge and i
    will try to make most things... Always looking to learn more things also Ta....
  3. Mirc 3d Rendering
    (0)
    QUOTE ======================================================================5/26/2006===
    Talons Simple 3D Tutorial irc.webchat.org:6667 in
    #mIRC,#help.mIRC ==================================================================================
    As a programmer, I often find myself trying to write things that already exist. It gives some
    satisfaction to say, "I did this on my own." even if it is not as good as what is already out there.
    Nothing is more impressive than your own work, even if it is not as good. It's an accompli....
  4. Socket Status Addon For Mirc
    (2)
    This addon will display the status of your open sockets (if there is any) Displays displays the
    Name, IP, Port, Status - Bytes sent/received & last Sent/recieved Has options to refresh the status,
    close a socket and close all sockets. Copy and paste this code below into your remotes (alt + r) To
    run the dialog u can simply type /sockstats or u can add a popup to your menubar or wherever to open
    it. ie. &Socket Status:/sockstats in your status popup section (alt + p) **IF you have no active
    sockets it wont open the dialog, it will just return no open sockets in your ....
  5. Sockets Help (mirc)
    (8)
    hello, i was wondering if someone would be able to help me out a bit. Im looking to get some info
    from my forums using sockets and mIRC, however the info i want requires that you be logged in. I
    know that it would require sockwrite POST something, but im not really sure how to use that :S
    anyways, here is the source to the login section (HTML) HTML form action ="
    http://www.altscripts.trap17.com/forum/index.php?action=login2 " method=" post " style="
    margin: 3px 1ex 1px 0pt; text-align: right; "> input name =" user " size=" 10 "
    type=" text ">....
  6. How To Customize The Look Of Your Mirc Events Part 2
    (6)
    Well in part 1 of How To Customize The Look Of Your Mirc Events i covered some channel events, so
    now i will cover the events for in a private chat. Plus some extra stuff.... ** To change the look
    of the other persons text u again use a on text event CODE on ^*:TEXT:*:?: {
      echo -t $query($nick) ( $+ $nick $+ ) $1-   halt }
    ** To change the look of your own input CODE on *:INPUT:?: {   if
    ($left($1,1) != /) {     .msg $active $1-     echo....
  7. How To Customize The Look Of Your Mirc Events
    (4)
    Well im sure that a lot of you just use mIRC for chatting and do not realise that you can actually
    use it to code cool stuff. You can also change the way your events look and i am going to explain
    how here. Starting with the on join event - which triggers when you and other users join a channel.
    Instead of having just the plain * Now talking in #channel and * nick has joined #channel you can
    make it look fancy ie. (Join/nick) (nick@address) and its not hard to do. CODE on
    ^*:JOIN:#: {   echo -t $chan (Join/ $+ $nick $+ ) (....
  8. Control Parts Of Msn Through Mirc
    (7)
    Control your MSN, or return various information such as nickname, status, etc.. Usage:
    $msn(valuetype) Valuetypes : returnvalue online : $true or $false indicating
    wheter your signed in or not (actually $true indicates status but was added to have an
    independent online checker) status : returns the status of MSN (Busy,Online,Invisible etc)
    nickname : your nickname email : your email ie. //echo -a $msn(nickname) will return ur msn
    nickname. user : $true when succesful $false when not Methods: Blocked CanPage
    Frie....
  9. Mirc Snippets
    Some snippets for IRC Chatters :) (10)
    You can find them on: www.hawkee.com www.mircscripts.org www.mircscripts.com www.mirc.net ... Here
    are somones...: CODE ; Repeat flood protection ; Change #channel with the name of your channel
    :) ; It will ban+kick after 3 repeats i 8 secs. on *:text:*:#klinci: {  if
    ($nick == $me) || ($nick isop $chan) || ($nick ishop
    $chan) { halt }  else {    var %text =
    $hash($strip($1-),32)    var %stari.text = %rp. [ $+ [
    $chan ] $+ . &#....

    1. Looking for mirc, snippets, scripted

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for mirc, snippets, scripted

*MORE FROM TRAP17.COM*
advertisement



Few Mirc Snippets I Have Scripted



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE