Tremulous Forum

General => Troubleshooting => Topic started by: 1337 1 on October 07, 2006, 08:35:40 am

Title: !othertests
Post by: 1337 1 on October 07, 2006, 08:35:40 am
I was wondering if it was possible to edit the trem source code so that, as well as the !admintest command, to maybe create other, novelty test (for example, !noveltytest, which brings up text reading something like "X is a level one novelty")  If this is possible, does someone know how to do it?
Title: !othertests
Post by: vcxzet on October 07, 2006, 09:10:01 am
huh?
Title: !othertests
Post by: Lava Croft on October 07, 2006, 05:02:40 pm
What the fuck is he talking about? Can anyone help us out here?
Title: !othertests
Post by: Seffylight on October 08, 2006, 12:03:58 am
He wants a command that'll let him do joke !*test commands, like how !admintest will get you "x is a level y admin".

So something lame like !noobtest would yield something like "x is a level 22184723975298 noob".

In short: Move along, nothing to see here.
Title: !othertests
Post by: 1337 1 on October 08, 2006, 01:21:51 am
Is it really so much to ask?  Honestly, how hard can the code be?
Title: !othertests
Post by: Thorn on October 08, 2006, 02:10:49 am
Quote
Honestly, how hard can the code be?
Really hard?

How bout do something useful with it?
Title: !othertests
Post by: kevlarman on October 08, 2006, 02:40:19 am
Quote from: "1337 1"
Is it really so much to ask?  Honestly, how hard can the code be?
it's not very hard, but no one will do it for you.
Title: !othertests
Post by: 1337 1 on October 08, 2006, 06:43:27 am
Quote from: "kevlarman"
Quote from: "1337 1"
Is it really so much to ask?  Honestly, how hard can the code be?
it's not very hard, but no one will do it for you.
 I'm not asking for anyone to do it for me, I'm just asking for a push in the right direction.
Title: !othertests
Post by: kevlarman on October 08, 2006, 06:39:00 pm
Quote from: "1337 1"
I'm not asking for anyone to do it for me, I'm just asking for a push in the right direction.
in that case (depending on how complex you want it to be) you will either need to look at [command] blocks in admin.dat (tjw described it in the aliens' wrath thread), or at g_admin.c
Title: !othertests
Post by: 1337 1 on October 09, 2006, 04:08:30 am
thank you!!! (gets down on knees and worships kevlarman  :)  )
Title: !othertests
Post by: Lava Croft on October 10, 2006, 02:22:04 pm
Eh, right. Maybe I'm just dumb, but isn't it quite useless to add code merely for the sake of 'fun'? Not to mention the fact that people spamming !test commands will be quite annoying, I already am fed up with everybody trying to use TJW's admin commands, while they are disabled for non-admins on SATGNU.

!donttrytouseadmincommandsifyouarenotadmin