Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Custom commands in BRenBot? (Little IRC script)
Custom commands in BRenBot? (Little IRC script) [message #74755] Mon, 29 March 2004 22:43 Go to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

on *:text:*:#:{
  if ($nick == BOTNICK) {
    if ($2 == !downloads) {
      msg # !msg Download selection of best maps @ http://www.zunnie.hellrazer.net
    }
}
}

___________________

You can add as much commands as you like this way.
Just enter your botnick and change the command and the !msg it does.
on *:text:*:#:{
  if ($nick == BOTNICK) {
    if ($2 == !downloads) {
      msg # !msg Download selection of best maps @ http://zunnie.hellrazer.net
    }
    if ($2 == !website) {
      msg # !msg Visit our website and sign up on the forum @ http://www.SourceOfQuality.nl
    }
    if ($2 == !site) {
      msg # !msg Visit our website and sign up on the forum @ http://www.SourceOfQuality.nl
    }
}
}


I know this is probably not the best code ever Razz so if anyone feels he could add something, plz do so Smile

[zunnie]


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Brenbot not loading
Next Topic: Mantis: Report all BRenBot BUGS and FEATURE REQUESTS Here.
Goto Forum:
  


Current Time: Tue Dec 03 09:32:08 MST 2024

Total time taken to generate the page: 0.00791 seconds