Shib Posted June 16, 2004 Share Posted June 16, 2004 S*it i was so close, if (($3 == !info) { mta.say $1 message } thanks m8 Link to comment
Oli Posted June 16, 2004 Share Posted June 16, 2004 dan, THINK about what you are writing, and LOOK at it once you've written it. There dont actually need to be ANY brackets or braces in that statement, it can be just how i wrote it, but in yours there is clearly one too many ( Link to comment
Shib Posted June 16, 2004 Share Posted June 16, 2004 Yeah, im gettin there i get quite a few hard bits but the simple bits i get stuck on Link to comment
Harry Posted June 16, 2004 Share Posted June 16, 2004 if ($mta.name($1,$2) == $mta.name($1,$2)) { Hm... What does THAT do???? I this this is allways true... Any other function in mind?? Link to comment
Shib Posted June 16, 2004 Share Posted June 16, 2004 Ok guys, i want your thoughts on this. As Harry said, it would be a wise idea to have a seperate forum/site on just the scripts. I am prepared to do this with hosting it on my computer. The host is on about 23 hours a day. Now if I am to go ahead with this i need about 5-6 helpers. If you would like to help out then post in here. Thanks. BTW :: Please post your thoughts on whether it should be site/forum if it does go ahead.. Personally i think site would be better because the login/register script is completely mashed on my host, so i think website is better. Link to comment
Harry Posted June 16, 2004 Share Posted June 16, 2004 I think a website like that sould have 24/7 hosting.. 23 h/day is nice, but i know several ways to provide 24/7 hosting... Furthermore, this is only one topic.. why do you need 5 or 6 helpers??? Just give Aeron a forum, let oli and some other guy be admins and all problems can be solved.... Why choosing the hard way? Link to comment
Shib Posted June 16, 2004 Share Posted June 16, 2004 I meant about 5-6 helpers if their were forums. So everyone do you want website?? Link to comment
OpiuM. Posted June 17, 2004 Share Posted June 17, 2004 Ok guys, i want your thoughts on this. As Harry said, it would be a wise idea to have a seperate forum/site on just the scripts. I am prepared to do this with hosting it on my computer. The host is on about 23 hours a day. Now if I am to go ahead with this i need about 5-6 helpers. If you would like to help out then post in here. Thanks.BTW :: Please post your thoughts on whether it should be site/forum if it does go ahead.. Personally i think site would be better because the login/register script is completely mashed on my host, so i think website is better. PNphpbb is the way to go, post nuke *drools Link to comment
Shib Posted June 17, 2004 Share Posted June 17, 2004 Nah, im going to make a site with built in forums, i'll make it for Aeron, Aeron get back to me on this if you want an administrator account on site and forums. Cheers Link to comment
Oli Posted June 17, 2004 Share Posted June 17, 2004 dan, i would prefer the forums to be ipb, also i can host them on one of my sites np... would be better than on your 256k upload and the fact ure comp isnt a server. Link to comment
[RT]kooper Posted June 17, 2004 Share Posted June 17, 2004 I think a website like that sould have 24/7 hosting.. 23 h/day is nice, but i know several ways to provide 24/7 hosting... Furthermore, this is only one topic.. why do you need 5 or 6 helpers??? Just give Aeron a forum, let oli and some other guy be admins and all problems can be solved.... Why choosing the hard way? i offered 24/7 hosting, and i still do, i can set up a forum and give aeron, oli admin rights and whoever else you think should have admin i dont need helpers to set up the site, just moderators once it is set up. but if you want to help your more than welcome. can i also point out, this is web hosting that i pay for so your not getting some doddgy connection to a doddgy server Link to comment
Aeron Posted June 17, 2004 Share Posted June 17, 2004 Good idea. PM me to give the info and i send your the info I prefere to have 24/7 hosting. Link to comment
vass69 Posted June 17, 2004 Share Posted June 17, 2004 I think a website like that sould have 24/7 hosting.. 23 h/day is nice, but i know several ways to provide 24/7 hosting... Furthermore, this is only one topic.. why do you need 5 or 6 helpers??? Just give Aeron a forum, let oli and some other guy be admins and all problems can be solved.... Why choosing the hard way? i offered 24/7 hosting, and i still do, i can set up a forum and give aeron, oli admin rights and whoever else you think should have admin i dont need helpers to set up the site, just moderators once it is set up. but if you want to help your more than welcome. can i also point out, this is web hosting that i pay for so your not getting some doddgy connection to a doddgy server im free to get for a mod job Link to comment
[RT]kooper Posted June 17, 2004 Share Posted June 17, 2004 i decided to use post nuke with a forum module, the pnphpbb2 module seems to be the best out there at the moment but if you know better please tell me. i have also started adding a 'archive' module, so all the scripts like votekick etc can be in there and found easily. Link to comment
Harry Posted June 17, 2004 Share Posted June 17, 2004 HM.. I don't like to have my scripts posted on someone else's server, mainly because i like to see how many times it is downloaded. That's why i never posted my complete script in this thread... I will place it on my server soon Link to comment
Si|ent Posted June 17, 2004 Author Share Posted June 17, 2004 Harry: In cases like that the site can just have a link to the site that host the script. That way you get to minitor its popularity etc Link to comment
Shib Posted June 17, 2004 Share Posted June 17, 2004 Ok, here, i will host scripts. Someone make sites and i will link to scripts or something, but these forums are too complicated to find stuff Link to comment
Oli Posted June 17, 2004 Share Posted June 17, 2004 dan, kooper is working on a site right now. He will host the scripts 24/7 in an archive.. thats what i think has been decided. Link to comment
Shib Posted June 17, 2004 Share Posted June 17, 2004 Or a wise idea would also to make a new thread with SCRIPTS only no spam or questions Link to comment
Oli Posted June 17, 2004 Share Posted June 17, 2004 look dan we all get it, there is no need to KEEP spamming this thread with this. Something is being done, so stop now. Link to comment
Shib Posted June 17, 2004 Share Posted June 17, 2004 ok so im a huge noob, I read all this shit and stole a code posted here to get the countdown working, and it does, I tried to modify the code so that if I typed !rules it would list the rules, but its not seaming to work.I cut out part of the script, its right under the countdown that does work. } if (!count* iswm $3) { mta.say $1 Countdown! .timerc1 1 1 mta.say $1 5 .timerc2 1 2 mta.say $1 4 .timerc3 1 3 mta.say $1 3 .timerc4 1 4 mta.say $1 2 .timerc5 1 5 mta.say $1 1 .timerc6 1 6 mta.say $1 GO GO GO! } if (!rules* iswm $3) { mta.say $1 Rules .timerc1 1 1 mta.say $1 No Killing .timerc2 1 2 mta.say $1 No Jacking .timerc3 1 3 mta.say $1 Dont Be an Ass .timerc4 1 4 mta.say $1 Have Fun .timerc5 1 5 mta.say $1 Mod all you want } shouldnt that work? Ok this is simple and im a noob... alias mta.text { if (!count* iswm $3) { mta.say $1 Countdown! .timerc1 1 1 mta.say $1 5 .timerc2 1 2 mta.say $1 4 .timerc3 1 3 mta.say $1 3 .timerc4 1 4 mta.say $1 2 .timerc5 1 5 mta.say $1 1 .timerc6 1 6 mta.say $1 GO GO GO! } if (!rules* iswm $3) { mta.say $1 Rules .timerc1 1 1 mta.say $1 No Killing .timerc2 1 2 mta.say $1 No Jacking .timerc3 1 3 mta.say $1 Dont Be an Ass .timerc4 1 4 mta.say $1 Have Fun .timerc5 1 5 mta.say $1 Mod all you want } Hope it works it did for me! Link to comment
Ape Posted June 17, 2004 Share Posted June 17, 2004 ya sorry I got that to work a little while back, Thanks though I appriciate it Link to comment
Shib Posted June 18, 2004 Share Posted June 18, 2004 does somebody has a complete script for me ? whith the following fucntions : - !stats - !admin - !info - !votekick - !ping - !kick kind regards Ok, here ya go.. alias mta.text { if (!admin isin $3-) { mta.say $1 The admin has been alerted. Please be patient /run c:\mp3/mp3.mp3 } if ($3 == !info) { mta.say $1 Your message } if (!stats == $3) { mta.say $1 Name: $mta.name($1,$2) - ID: $2 - Ping: $mta.ping($1,$2) - Kills: $mta.kills($1,$2) - Deaths: $mta.deaths($1,$2) - Online: $duration($mta.online($1,$2)) - Status: $iif($mta.game($1,$2) == 1,Out Game,In Game) } if ($3 == !ping) { mta.say $1 $mta.name($1,$2) your ping is: $mta.ping($1,$2) } if ($3 == !votekick) { if (%vote.nick. [ $+ [ $1 ] ] == $null) { if ($ini($+(",$scriptdir,$1,.ini"),ID $+ $4)) { set %vote.nick. [ $+ [ $1 ] ] $4 set %vote.voters. [ $+ [ $1 ] ] $null mta.say $1 Votekick "!vote" if u want that $mta.name($1,$4) shall be kicked. [ $calc($left($did(mta,$1 $+ 21),2) / 2) votes needed][30 sec] .timervote [ $+ [ $1 ] ] 1 30 mta.vote $1 } else mta.say $1 Give up an existing ID-number: "!votekick " } else mta.say $1 Another votekick is running: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) } if (($3 == !vote) && (%vote.nick. [ $+ [ $1 ] ] != $null)) { if ($2 !isin %vote.voters. [ $+ [ $1 ] ]) { %vote.voters. [ $+ [ $1 ] ] = %vote.voters. [ $+ [ $1 ] ] $2 mta.say $1 $numtok(%vote.voters. [ $+ [ $1 ] ],32) votes for $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) if ($numtok(%vote.voters. [ $+ [ $1 ] ],32) >= $calc($left($did(mta,$1 $+ 21),2) / 2)) { mta.say $1 $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) $numtok(%vote.voters. [ $+ [ $1 ] ],32) votes ur out! mta.kick $1 %vote.nick. [ $+ [ $1 ] ] unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] .timervote [ $+ [ $1 ] ] off } } else mta.say $1 $mta.name($1,$2) You have already voted } if (!votestop == $3) { mta.say $1 Vote kick cancelled: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] .timervote [ $+ [ $1 ] ] off Well i tested this and it worked for me. Link to comment
Cube Posted June 18, 2004 Share Posted June 18, 2004 HI, what it dosn't work: alias mta.text { if ($3 == !aliases) { if ($4 != $null) { if ($readini("Alias.ini",IP,$mta.ip($1,$mta.getid($1,$4)))) { mta.say $1 Aliases used by $mta.name($1,$mta.getid($1,$4)) $+ : $readini("Alias.ini",IP,$mta.ip($1,$mta.getid($1,$4))) } } else { mta.say $1 Syntax: !aliases } } When I write:!aliases server write Syntax: !aliases , and when I write !aliases 0 server nothing write... Why ? Link to comment
Harry Posted June 18, 2004 Share Posted June 18, 2004 (edited) HI, what it dosn't work: alias mta.text { if ($3 == !aliases) { if ($4 != $null) { if ($readini("Alias.ini",IP,$mta.ip($1,$mta.getid($1,$4)))) { mta.say $1 Aliases used by $mta.name($1,$mta.getid($1,$4)) $+ : $readini("Alias.ini",IP,$mta.ip($1,$mta.getid($1,$4))) } } else { mta.say $1 Syntax: !aliases } } I guess you don't have the mta.getid function, try to search it in this topic You also need a line in mta.join that writes somesomes alias in the .ini on entering, otherwise you can't read out the file Edited June 18, 2004 by Guest Link to comment
Recommended Posts