Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » mIRC Reply Script
mIRC Reply Script [message #84197] Thu, 29 April 2004 11:48 Go to previous messageGo to previous message
ssptweek is currently offline  ssptweek
Messages: 81
Registered: February 2004
Karma:
Recruit
dead6re

So much functions that arent needed, well i think so. This should work better

alias /r {
  msg %recentpagechan !page %recentpage $1-
}
on *:TEXT:[PAGE]*:#: {
    set %recentpage $2
    set %recentpagechan $chan
    halt
  }
  elseif (Page From isin $1- {
    set %recentpage $3
    set %recentpagechan $chan
  }
}


Those functions, $strip and $remove arent need that much. With mirc u can use $1. That will select the first word. It should work. Ill test it when i get back later.


Actually u need $strip and $remove, especially if you don't have mIRC to strip the color.

BR reports in bold and color, so you use $strip to remove the bold and color. BR and Brenbot use : at the end of players name so you need $remove to remove the colon marks otherwhise the scrip would send this out /r playername: but using $strip and $remove it would do this /r playername sending it to the correct person.

Snipesimo was correct on the original coding.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use renguard on UGIN servers sniper tourny?
Next Topic: Renegade Alert Oil Pump Assault (C&C_RA_A_OilField)
Goto Forum:
  


Current Time: Mon Feb 24 21:53:17 MST 2025

Total time taken to generate the page: 0.00677 seconds