Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.50 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-22-2011, 01:18 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Smile New npcserver version

TServerPlayer.sendtoirc(str, str) - sends an irc message to the RC, parameters are command and parameters, possible commands are join (channel), part (channel), topic (channel,topic), privmsg (source,channel,message), notice (source,channel,message)

Example:
temp.pl.sendtoirc("join","Reports");
temp.pl.sendtoirc("privmsg","NPCServer","Reports", "Wowow");

This can be used to send messages to RC similiar to the irc channels. It is a little bit limited right now, you cannot type messages into the 'channel' with RC and it doesn't work with scripted RC, but ideas and feedback for this new command are welcome.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.