Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » commands
commands [message #89923] Tue, 25 May 2004 11:45 Go to next message
Pavla is currently offline  Pavla
Messages: 38
Registered: March 2004
Location: Netherlands
Karma: 0
Recruit
for simple custom commands like !website open up your irc client, go to the scripting window and open up the tab "remote", copy paste there this line and replace the command and text. It is neceserry to have all the rights for typing commands and having the irc client all the time running.

on *:TEXT:*!website*:#: { //msg $chan !msg http://www.mysite.com }
commands [message #90133] Wed, 26 May 2004 05:07 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Or do my smelly way which works.

alias channel {
; This is the channel the bot reports to
return #my_bot_room
}

alias website {
; This is your website
return http://www.google.com
}

on *:TEXT:*!website*:$channel: { /msg $chan !msg $website }
commands [message #93775] Tue, 08 June 2004 20:30 Go to previous messageGo to next message
NoEvidenZ is currently offline  NoEvidenZ
Messages: 3
Registered: July 2003
Location: Melbourne, Australia
Karma: 0
Recruit

Dude, those are aliases, not variables.
Aren't they like, COMPLETELY different?


NoEvidenZ

Breathe In, Now Breathe Out
Hands Up, Now Hands Down
Step In, Now Step Out
You Need Some Excercise Now...

There Is no F***ING Spoon!!!
HOW MANY TIMES DO I HAVE TO TELL YOU!?!?!
commands [message #93958] Wed, 09 June 2004 12:35 Go to previous message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

remove the aliases and it will work Smile

channel {

not: alias channel {


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Previous Topic: Custom kill messages
Next Topic: Problems with Brenbot startup
Goto Forum:
  


Current Time: Wed Dec 18 15:10:39 MST 2024

Total time taken to generate the page: 0.00580 seconds