Rosco-SS
01-13-2004, 02:54 PM
I currently have my perform box full of the channels and commands I want to run automatically for the Tribes server. But I also want it to connect to another server on mIRC startup and perform commands for that server specifically as well. So I can automatically connect to two different servers, with different channels and auth passwords.
Any idea's? Most site are pretty "basic", meaning all they talk about is using the perform box on one server only :/
I wrote an alias for mine. There are only 2 lines in my Perform box (by the way, mIRC 6.10+ allows different performs for each server), they are:
/nick Data
/nickserv identify [password]
After I connect to the server I change nicks if necessary (depends on the server) and then I run the alias for channels on that server. For Dynamix it's /tribes.
My /tribes alias is just a series of /join commands.
/tribes {
/join #Tribalwar
/join #Data
/join #(... etc.)
}
That's all you need. :p
At0m|c
01-13-2004, 04:07 PM
That's what I do except instead of /tribes I use /f11 which binds it to the F11 key. :) Same idea... and really the easiest way to do it.
iNVAR
01-13-2004, 05:56 PM
Uh... put the perform commands only in the 'Network' that you want it to. in this case, dynamix? or whatever the hell you called it.
Elantri_X
01-14-2004, 07:24 AM
The command prefix is really only needed when entering a command on the command line. In scripts, all lines are assumed to start with a command, so you don't need to use the / command prefix.
Habit. :shrug:
And my code was structured better than that, with each /join on its own line, but the code tags messed it up. :p
Elantri_X
01-14-2004, 10:36 AM
Habit. :shrug:
And my code was structured better than that, with each /join on its own line, but the code tags messed it up. :p
I've noticed that too. Everytime I post code in the code tags, It shows it only on one line... Is this a vB bug?
example:
for($i=0; $i < mysql_num_rows($result); $i++) {
if ((1&$i)){ echo "<tr class=\"firstalt\">\n"; }
else { echo "<tr class=\"secondalt\">\n"; }
for($i=0; $i < mysql_num_rows($result); $i++) {
if ((1&$i)){ echo "<tr class=\"firstalt\">\n"; }
else { echo "<tr class=\"secondalt\">\n"; }
for($a=0; $a < count($col_list); $a++) {
$field = mysql_result($result, $i, $col_list[$a]);
if ($col_list[$a] == "ID") {
$f_ID = $field;
echo "<td height=\"19\"> <input type=\"checkbox\" name=\"del_check[]\" value=\"$field\"></td>\n"; }
if ($col_list[$a] == "title") {
echo "<td><blockquote><a href=\"news.php?process=editnews&nid=$f_ID\">$field</a></blockquote></td>\n";
} else {
echo "<td><div align=\"center\">$field</div></td>\n";
}
}