Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » mIRC Reply To Page Script
mIRC Reply To Page Script [message #12466] Mon, 07 April 2003 19:37 Go to next message
npsmith82 is currently offline  npsmith82
Messages: 525
Registered: February 2003
Location: England, UK
Karma: 0
Colonel
-=-=-=-=-=-=-=-=-=-=-=-=-
mIRC Reply To Page Script
-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.cncrenegade.info
By npsmith82

With this simple script you'll be able to just type "/r " followed by your reply, rather than typing "!page PlayerName YourMessage". You'll soon realise that this is an effective way of replying. All the regular moderators that use mIRC should not miss out on this one, it'll make your moderating so much easier.

Just open mIRC and open the scripts panel by pressing alt+A, paste the following code blocks into the corresponding code category. To get the script working with your server you'll need to replace the following two values so they match the details of your IRC channel.

#brenbot -> Your mIRC Channel name.
BRenBot -> The name of your mIRC game bot.

ALIASES (Alt+A) :
Quote:

/r {
/msg #brenbot !page %PagerName $1-
}


REMOTES (Alt+R):
Quote:

on *:TEXT:*:#brenbot: {
if (BRenBot isincs $nick) && ([Page] isin $1) {
set %PagerName $remove($strip($2),Smile
}
}


VARIABLES:
Quote:

%PagerName NoPlayerGiven


Hope you guys find this useful. http://www.n00bstories.com/renforums/images/smiles/icon_cool.gif


WOL: npsmith82

For RenAutoComplete, RenSkirmish, RenBuddyList and RenWOLstatus please visit (IE) TheCodeSmith.com
mIRC Reply To Page Script [message #12489] Tue, 08 April 2003 00:55 Go to previous messageGo to next message
Sk8rRIMuk is currently offline  Sk8rRIMuk
Messages: 1019
Registered: February 2003
Location: Blackheath, England, Unit...
Karma: 0
General (1 Star)

Yes this is useful becaues I am not to good at scripting with mIRC so this will help me when moderating on the JTek Sniper Server.

-Sk8rRIMuk


WOL Nick - Sk8rRIMuk

http://www.bwstudios.co.uk/private/sk8rrimuk.jpg

The one and only original "spammander"!
mIRC Reply To Page Script [message #12508] Tue, 08 April 2003 03:26 Go to previous messageGo to next message
snipesimo is currently offline  snipesimo
Messages: 764
Registered: February 2003
Karma: 0
Colonel
the biggest prob i have, is i mod over 6 servers, so it only works for one chan, maybe i will try to alter it to work on multiple chans...
mIRC Reply To Page Script [message #12686] Tue, 08 April 2003 18:39 Go to previous messageGo to next message
npsmith82 is currently offline  npsmith82
Messages: 525
Registered: February 2003
Location: England, UK
Karma: 0
Colonel
cough*bump*cough

WOL: npsmith82

For RenAutoComplete, RenSkirmish, RenBuddyList and RenWOLstatus please visit (IE) TheCodeSmith.com
mIRC Reply To Page Script [message #12747] Tue, 08 April 2003 23:54 Go to previous message
npsmith82 is currently offline  npsmith82
Messages: 525
Registered: February 2003
Location: England, UK
Karma: 0
Colonel
DOM_snipesimo

the biggest prob i have, is i mod over 6 servers, so it only works for one chan, maybe i will try to alter it to work on multiple chans...


If you moderate multiple channels, use the code below instead...

ALIASES (ALT+A):
Quote:

/r {

; SERVER 1
if ($chan == #brenbot) {
/msg #brenbot !page %brenbot.pagername $1-
}

; SERVER 2
if ($chan == #ra2ukser2) {
/msg #ra2ukser2 !page %ra2ukser2.pagername $1-
}

}


REMOTES (ALT+R):
Quote:

on *:TEXT:*:*: {

; SERVER 1
if ($chan == #BrenBot) {
if (brenbot isin $nick) && ([Page] isin $1) {
set %brenbot.pagername $remove($strip($2),Smile
echo BRenBot pager set to %brenbot.pagername
}
}

; SERVER 2
if ($chan == #Ra2UKSer2) {
if (ra2bot isin $nick) && ([Page] isin $1) {
set %ra2ukser2.pagername $remove($strip($2),Smile
echo n00bstories pager set to %ra2ukser2.pagername
}
}

}


VARIABLES:
Quote:

%brenbot.pagername NoValue
%ra2ukser2.pagername NoValue


Repeat until necessary. http://www.n00bstories.com/renforums/images/smiles/icon_smile.gif


WOL: npsmith82

For RenAutoComplete, RenSkirmish, RenBuddyList and RenWOLstatus please visit (IE) TheCodeSmith.com
Previous Topic: CNC Reborn beta test!
Next Topic: WHAT THE HELL IS THIS INVALID_SESSION I"M GETTING
Goto Forum:
  


Current Time: Mon Jul 22 19:03:34 MST 2024

Total time taken to generate the page: 0.00682 seconds