Sorry, feel dumb fer posting this considering its probably got such a simple solution but,
mob
pc
var/list/party = list()
verb
Invite_To_Party(mob/M in world)
switch(alert("[usr] would like you to follow his lead.",,"I'll follow","I'll walk alone."))
if("Yes")
party += M
if("No")
src << "[usr] has chosen to lead himself."
usr << "You've decided not to follow."
Prob' is , when I try to invite a mob, as in another player, it doesn't give him the pop up but it ask myself if I want to join my own party. I can't seem to fix this.
Also, if anyone has some free-time, could you even post a way I can make a 'Create Party' verb, THEN invite players to it?
Thanks in advance.
((Silly me, I think I anwsered my own question, but feel free to reply))
ID:267734
Sep 7 2003, 7:08 am
|
|
In response to Aridale
|
|
No, you are wrong, the [usr] is part of the message in the popup, here is what you want:
mob remember, if you want to call the alert for someone else, use: alert(TARGET,"message","message title","alert option 1", "alert option 2", "alert option 3") the alert can have a maximum of 3 choices, but you dont even need to have 3. |
In response to JackGuy
|
|
Like I said, something so simple and I didn't catch it. Thanks Jack!
|
In response to JackGuy
|
|
What is it with people and not using DM tags? Oiy. My eyes! They Burn!
|
Its askin you cause you have [usr] in there and usr is you cause your the one calling the verb