Forum

> > CS2D > Scripts > Add news cmd in fairy admin script ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Add news cmd in fairy admin script ?

4 replies
To the start Previous 1 Next To the start

old Re: Add news cmd in fairy admin script ?

_Yank
User Off Offline

Quote
@Ajmin: Yeah, there is but for scripters only, the other one (the one for casual users) is only for simple commands.

@user Kirito2K: I might add a feature like this on the update I'm going to release, just wait a little bit.

old Re: Add news cmd in fairy admin script ?

Joni And Friends
User Off Offline

Quote
Maybe you can use file File does not exist (15866) and put new command on there with this code
1
2
3
4
5
6
7
8
9
{cmd="!news",
          action=function(id,txt,b,c)
            for g=1,32 do
                 if player(g,"exists") then
                     parse('hudtxt2 '..g..' 40 "News: '..txt:sub(7,#txt)..'" 640 0')
                     parse('hudtxtmove '..g..' 40 20000 -640 0')
            end
      end
end};

old Re: Add news cmd in fairy admin script ?

eledah
User Off Offline

Quote
Defining the command, make sure there isn't another command[31] defined in your code
Spoiler >


And the function
Spoiler >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview