This is the code I have. It works, but when It changes the topic, my status and static go away.. How can I get the static and static to stay? on 1:TEXT:topic *:?:{ if ($nick == jwire4) { /topic #rtvchatroom $2- } }
make sure you do status text and static text at least once, to set the variables. Then, the next time you do topic newtopic here, it should set it, while keeping the others the same. If that doesn't work -- I'll have someone more talented than myself take a look over here. Im not known for my scripting abilities =)
_________________________
Justin Services Admin on Resurrection and Neptune
#1946 - 05/06/0807:58 PMRe: PMing a bot to change topic, status, etc
[Re: jwire4]
OzarkMark
n00b
Registered: 12/21/07
Posts: 17
Loc: Arkansas, USA
This isn't that hard.
Notes: For this to work you must have 2 separate channels.
Set #myops to your OPS Channel. Set 'gtopic', 'gstatus', and 'gstatic' to whatever trigger text you want.
Set OzarkMark to your nickname. Set #greenerhomeowner to your main channel name Make sure you copy exactly as shown. Omitting a space anywhere will make the script not work.
If you are using the same mIRC as the script resides on, remember mIRC doesn't listen to remote text commands from itself so you either must have another op/hop set the topic, status, and static message or you have to have the opped WR bot in your channel and you give it the following command: (Remember to change the triggers as stated above)
/bs say #myops gtopic THis is the topic /bs say #myops gstatus is doing stuff /bs say #myops gstatic This is the static message
If you want to automate it by using an alias: Put these in your ALIAS TAB:
/gtop /bs say $chan gtopic $$?="Topic" /gss /bs say $chan gstatus $$?="Status" /gsc /bs say $chan gstatic $$?="Static"
WyldRyde, WyldRyde IRC Network, WyldRyde Corp, WyldRyde Corporation, WyldRyde.org, WyldRyde.net, and WyldRyde Chat Script are trademarks of WyldRyde Corporation. All other trademarks and tradenames are property of their respective owners.