This is a snippet for those who Play "Command & Conquer: Renegade"
This Snippet is designed to be able to have moderator commands ingame without haveing "moderator" status ingame. You of course have to be in the network\channel of IRC for this to even Function, let alone have at least "voice" to use commands from ingame.
Simply Copy, and In MIRC, click "ALT R" then click PASTE and your ready to go!
the first line, if $istok(#Chan1 #Chan2 #Chan3,$chan,32) {
has the script scan for the channels its supposed to trigger on. To Add Channels, simply add a "#chan" and have a space between itself and the next one. The last #chan has to be followed by ","
i.e. - " #Chan1 #Chan2 #Chan3,$chan,32) { "
the second line,
if $istok(Bot1 Bot2 Bot3,$nick,32) {
has the script scan the channel for the channel bot.
To Add Bots, simply add a "BotNick" and have a space between itself and the next one. The last "BotNick" has to be followed by "," i.e - " Botnick1 Botnick2 Botnick3,$nick,32) { "
the third line,
if ($istok(nick1,$strip($remove($1,:,+,%,@,^,*,&,),burc),32)) {
has the script only respond to these INGAME nicks. So if someone who isnt in third line nicklist types any of the "commands", this script won't trigger. To add nicks, simply add new nick after first nick with a space inbetween each and every nick. The last nick, however, has to have a coma immediately following it- i.e " nick1 nick2 nick3,burc),32)) { "
to add commands, simply copy " elseif (atm isin $3) {
put commands you want script to perform when its triggered here
} "
on *:TEXT:*:# {
if $istok(#PutChan1Here #Chan2 #Chan3,$chan,32) {
if $istok(PutBotnick1Here BotNick2 BotNick3,$nick,32) {
if ($istok(nick1,$strip($remove($1,:,+,%,@,^,*,&,),burc),32)) {
if (atm isin $2) {
msg $chan !atm $strip($remove($3,:,+,%,@,^,*,&),burc),32)
}
elseif (atm isin $3) {
msg $chan !atm $strip($remove($4,:,+,%,@,^,*,&),burc),32)
}
elseif (kick isin $2) {
msg $chan !kick $strip($remove($3,:,+,%,@,^,*,&),burc),32) $strip($remove($4,:,+,%,@,^,*,&),burc),32) *$4 = reason for kick*
}
elseif (kick isin $3) {
msg $chan !kick $strip($remove($4,:,+,%,@,^,*,&),burc),32) $strip($remove($5,:,+,%,@,^,*,&),burc),32) *$5 = reason for kick*
}
}
}
}
}
;in irc, click "ALT R" then copy and paste this into remotes, then ;click "save as" and name it whatever you'd like.
;the first line, ; if $istok(#PutChanHere OtherChanHere,$chan,32) {
; has the script scan for the channels its supposed to trigger on. ;To Add Channels, simply add a "#chan" and have a space between ;itself and the next one. The last #chan has to be followed by "," ;i.e. - " #Chan1 #Chan2 #Chan3,$chan,32) { "
;the second line,
; if $istok(PutBotnickHere OtherBotNick,$nick,32) {
; has the script scan the channel for the channel bot.
; To Add Bots, simply add a "BotNick" and have a space between ;itself and the next one. The last "BotNick" has to be followed by ;"," i.e - " Botnick1 Botnick2 Botnick3,$nick,32) { "
;the third line,
; if ($istok(nick1,$strip($remove($1,:,+,%,@,^,*,&,),burc),32)) {
; has the script only respond to these INGAME nicks. So if someone ;who isnt in third line nicklist types any of the "commands", this ;script won't trigger. To add nicks, simply add new nick after ;first nick with a space inbetween each and every nick. The last ;nick, however, has to have a coma immediately following it- i.e " ;nick1 nick2 nick3,burc),32)) { "
;to add commands, simply copy " elseif (atm isin $3) {
; put commands you want script to perform when its triggered here
; } "